forked from csi-addons/kubernetes-csi-addons
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use grpc.NewClient() instead of deprecated grpc.Dial()
golangci-lint complains about the usage of the deprecated grpc.Dial() function: SA1019: grpc.Dial is deprecated: use NewClient instead. The grpc.NewClient() function seems to be completely compatible with grpc.Dial(), parameters and return values are all the same. Signed-off-by: Niels de Vos <ndevos@ibm.com>
- Loading branch information
1 parent
c93e781
commit aa241e2
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters