Workaround for intervals and timeout being dependent on the init execution order.

This commit is contained in:
Renan DelValle 2019-03-25 11:38:17 -07:00
parent ddc9bc408a
commit 3c817a7ffc
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
6 changed files with 103 additions and 101 deletions

View file

@ -24,12 +24,12 @@ func init() {
var rollbackCmd = &cobra.Command{
Use: "rollback",
Short: "rollback an operation such as an Update",
Short: "Rollback an operation such as an Update",
}
var rollbackUpdateCmd = &cobra.Command{
Use: "update",
Short: "rollback an update that is currently paused",
Short: "Rollback an update",
Run: rollbackUpdate,
}