fix: client retries will be 0 when not set

fix: client retries will be 0 when not set
This commit is contained in:
tongjichao 2019-04-19 00:05:02 +08:00 committed by GitHub
parent f824ba0779
commit fd2ca3a13a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,7 @@ var (
cli.IntFlag{
Name: "client_retries",
EnvVar: "MICRO_CLIENT_RETRIES",
Value: client.DefaultRetries,
Usage: "Sets the client retries. Default: 1",
},
cli.IntFlag{