| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| } | ||
|
|
||
| if (Flags.action.sequence && (cmd.LocalFlags().Changed(MEMORY_FLAG) || cmd.LocalFlags().Changed(LOG_SIZE_FLAG) || cmd.LocalFlags().Changed(TIMEOUT_FLAG))) { | ||
| errStr := wski18n.T("A sequence cannot have a memory limit, a log size limit or a timeout limit.") |
There was a problem hiding this comment.
Can we transition to using message identifiers instead as in https://github.com/apache/incubator-openwhisk-cli/blob/master/commands/messages.go#L26.
Sorry, something went wrong.
| expectedExitCode = MISUSE_EXIT) | ||
| } | ||
|
|
||
| it should "reject create or update of an action sequence that sets a memory limit" in withAssetCleaner(wskprops) { (wp, assetHelper) => |
There was a problem hiding this comment.
all of these might be better suited as go unit tests - i think it makes sense to start adding new tests that are strictly testing the CLI in go.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
fixes #347