cmd/dist: add global connect-timeout for GRPC
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
317b884110
commit
d61d0b5aef
3 changed files with 9 additions and 4 deletions
2
cmd/dist/fetch.go
vendored
2
cmd/dist/fetch.go
vendored
|
@ -39,7 +39,7 @@ var fetchCommand = cli.Command{
|
|||
},
|
||||
Action: func(context *cli.Context) error {
|
||||
var (
|
||||
ctx = contextpkg.Background()
|
||||
ctx = background
|
||||
timeout = context.Duration("timeout")
|
||||
locator = context.Args().First()
|
||||
args = context.Args().Tail()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue