Skip to content

Commit

Permalink
Remove alias for aggregator command (#1137)
Browse files Browse the repository at this point in the history
We renamed the `master` command to `aggregator` in #847 (released in
v0.15.3) but left the previous command there as an alias. Given that we
have had 3 minor releases since this and have phased out all use, we
can remove this alias.

Also rename the file to match the new command name.

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
  • Loading branch information
zubron authored Jul 2, 2020
1 parent 81fa9a7 commit e43cefe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/vmware-tanzu/sonobuoy/pkg/config"
"github.com/vmware-tanzu/sonobuoy/pkg/discovery"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"

"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
Expand All @@ -49,9 +50,6 @@ func NewCmdAggregator() *cobra.Command {
},
Hidden: true,
Args: cobra.ExactArgs(0),

// Original command but no longer used. Kept for backward compatibility.
Aliases: []string{"master"},
}
cmd.PersistentFlags().BoolVar(
&input.noExit, "no-exit", false,
Expand Down

0 comments on commit e43cefe

Please sign in to comment.