Merge pull request #883 from anusha-ragunathan/set_default_timeout

Set a non-zero timeout for HTTP client communication with plugin backend.
This commit is contained in:
Brian Goff 2018-02-16 16:46:55 -05:00 committed by GitHub
commit a0044ba3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func newEnableCommand(dockerCli command.Cli) *cobra.Command {
}
flags := cmd.Flags()
flags.IntVar(&opts.timeout, "timeout", 0, "HTTP client timeout (in seconds)")
flags.IntVar(&opts.timeout, "timeout", 30, "HTTP client timeout (in seconds)")
return cmd
}