mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
replaced call to deprecated grpc method WithDialer with WithContextDialer
Signed-off-by: Justen Martin <jmart@the-coder.com>
This commit is contained in:
parent
6f069f14e6
commit
3b49bd1d84
2 changed files with 1 additions and 5 deletions
|
@ -887,7 +887,7 @@ func NewDaemon(ctx context.Context, config *config.Config, pluginStore *plugin.S
|
||||||
gopts := []grpc.DialOption{
|
gopts := []grpc.DialOption{
|
||||||
grpc.WithInsecure(),
|
grpc.WithInsecure(),
|
||||||
grpc.WithBackoffMaxDelay(3 * time.Second),
|
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.
|
// TODO(stevvooe): We may need to allow configuration of this on the client.
|
||||||
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(defaults.DefaultMaxRecvMsgSize)),
|
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(defaults.DefaultMaxRecvMsgSize)),
|
||||||
|
|
|
@ -46,10 +46,6 @@ issues:
|
||||||
- text: "G202: SQL string concatenation"
|
- text: "G202: SQL string concatenation"
|
||||||
linters:
|
linters:
|
||||||
- gosec
|
- gosec
|
||||||
# FIXME temporarily suppress these. See #39928
|
|
||||||
- text: "SA1019: grpc.WithDialer is deprecated"
|
|
||||||
linters:
|
|
||||||
- staticcheck
|
|
||||||
# FIXME temporarily suppress these. See #39924
|
# FIXME temporarily suppress these. See #39924
|
||||||
- text: "SA1019: h.Xattrs is deprecated: Use PAXRecords instead"
|
- text: "SA1019: h.Xattrs is deprecated: Use PAXRecords instead"
|
||||||
linters:
|
linters:
|
||||||
|
|
Loading…
Reference in a new issue