generated from VLADIMIR/template
fix
This commit is contained in:
@@ -80,7 +80,7 @@ func TestClientInfoFromContext(t *testing.T) {
|
||||
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
var ctx context.Context = context.Background()
|
||||
ctx := context.Background()
|
||||
if tt.md != nil {
|
||||
ctx = metadata.NewIncomingContext(ctx, tt.md)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user