Skip to content

Commit

Permalink
ignore depricated warning in lint
Browse files Browse the repository at this point in the history
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
  • Loading branch information
iamniting committed Aug 28, 2024
1 parent a048cb7 commit fc39805
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/provider/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ func NewProviderClient(ctx context.Context, serverAddr string, timeout time.Dura

opts := []grpc.DialOption{
grpc.WithTransportCredentials(credentials.NewTLS(config)),
// TODO fix deprecated warning
//nolint:golint,all
grpc.WithBlock(),
}

// TODO fix deprecated warning
//nolint:golint,all
conn, err := grpc.DialContext(apiCtx, serverAddr, opts...)
if err != nil {
return nil, fmt.Errorf("failed to dial: %v", err)
Expand Down

0 comments on commit fc39805

Please sign in to comment.