Changing sla-aware command to be less cumbersome. sla-aware command now takes --count or --percentage and they are mutually exclusive.

This commit is contained in:
Renan DelValle 2020-01-29 16:09:53 -08:00
parent b65ac55c1c
commit 8544d8a0c4
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
5 changed files with 55 additions and 63 deletions

View file

@ -80,7 +80,9 @@ var rootCmd = &cobra.Command{
}
func Execute() {
rootCmd.Execute()
if err := rootCmd.Execute(); err != nil {
log.Fatal(err)
}
}
// TODO(rdelvalle): Move more from connect into this function