-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set client timeout https://github.com/Kong/deck/issues/449 #450
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it really needs to be a public variable? Lowercase shall be enough?
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fjaenni some minor linter issues that need addressing.
I'd recommend placing the default timeout in the flag (rootCmd.PersistentFlags().Int("timeout", 10, ...)
) and using that value throughout. Otherwise it's a bit confusing that the value shown in help doesn't reflect the actual default timeout--it suggests that the default is instead no timeout.
hi, |
Codecov Report
@@ Coverage Diff @@
## main #450 +/- ##
==========================================
+ Coverage 50.29% 50.30% +0.01%
==========================================
Files 72 72
Lines 5687 5693 +6
==========================================
+ Hits 2860 2864 +4
- Misses 2496 2498 +2
Partials 331 331
Continue to review full report at Codecov.
|
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
#449