Skip to content
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

Account for variability in Account Limits from various provider impls. #1048

Merged
merged 11 commits into from
Apr 5, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Account for variability in Account Limits from various provider impls.
mrutkows committed Apr 5, 2019
commit c018f778697eab7c9d3c8f91d13637e78bf6a35a
2 changes: 1 addition & 1 deletion utils/validation.go
Original file line number Diff line number Diff line change
@@ -143,7 +143,7 @@ func LimitsTimeoutValidation(timeout *int) bool {
if *timeout < 100 {
// Do not allow invalid limit to be added to API
wskprint.PrintlnOpenWhiskWarning(wski18n.T(wski18n.ID_WARN_LIMITS_TIMEOUT))
return false;
return false
} else if *timeout > 600000 {
// Emit a warning, but allow to pass through to provider
wskprint.PrintlnOpenWhiskWarning(wski18n.T(wski18n.ID_WARN_LIMITS_TIMEOUT))