Refactoring start sla-drain (#7)
Changing sla-drain command to be less cumbersome. sla-drain command now takes --count or --percentage and they are mutually exclusive.
This commit is contained in:
parent
b65ac55c1c
commit
fa0179292a
5 changed files with 55 additions and 63 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue