Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Jan 26, 2021
1 parent 84f9b72 commit 6ec1a38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion grpc/grpcreflection/reflection.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func getCtx(headers map[string][]string) context.Context {
md.Append(k, v...)
}
return metadata.NewOutgoingContext(context.Background(), md)

}

// NewClient returns an instance of gRPC reflection client for gRPC protocol.
Expand Down
2 changes: 1 addition & 1 deletion usecase/header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func TestHeader(t *testing.T) {
defer Clear()
client, err := grpc.NewClient("", "", false, false, "", "", "")
client, err := grpc.NewClient("", "", false, false, "", "", "", nil)
if err != nil {
t.Fatalf("grpc.NewClient must not return an error, but got '%s'", err)
}
Expand Down

0 comments on commit 6ec1a38

Please sign in to comment.