1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #40032 from jmartin84/fix-grpc-withdialer-deprecation-warning

Fix grpc withdialer deprecation warning
This commit is contained in:
Brian Goff 2019-11-05 12:20:33 -08:00 committed by GitHub
commit 47c5c67ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -889,7 +889,7 @@ func NewDaemon(ctx context.Context, config *config.Config, pluginStore *plugin.S
gopts := []grpc.DialOption{
grpc.WithInsecure(),
grpc.WithBackoffMaxDelay(3 * time.Second),
grpc.WithDialer(dialer.Dialer),
grpc.WithContextDialer(dialer.ContextDialer),
// TODO(stevvooe): We may need to allow configuration of this on the client.
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(defaults.DefaultMaxRecvMsgSize)),

View file

@ -74,10 +74,6 @@ issues:
- text: "(G201|G202): SQL string (formatting|concatenation)"
linters:
- gosec
# FIXME temporarily suppress these. See #39928
- text: "SA1019: grpc.WithDialer is deprecated"
linters:
- staticcheck
# FIXME temporarily suppress these. See #39924
- text: "SA1019: .*\\.Xattrs is deprecated: Use PAXRecords instead"
linters: