Skip to content

Commit

Permalink
Remove alias to show-controllers
Browse files Browse the repository at this point in the history
This happened per discussion with alexisb and is done as a drive by on
http://pad.lv/1603640

Refs: http://pad.lv/1603640
  • Loading branch information
reedobrien committed Aug 31, 2016
1 parent 8795489 commit e03fb8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion cmd/juju/commands/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ var commandNames = []string{
"show-budget",
"show-cloud",
"show-controller",
"show-controllers",
"show-machine",
"show-machines",
"show-model",
Expand Down
5 changes: 2 additions & 3 deletions cmd/juju/controller/showcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func (c *showControllerCommand) Info() *cmd.Info {
Args: "[<controller name> ...]",
Purpose: usageShowControllerSummary,
Doc: usageShowControllerDetails,
Aliases: []string{"show-controllers"},
}
}

Expand Down Expand Up @@ -202,8 +201,8 @@ type ControllerDetails struct {

// AgentVersion is the version of the agent running on this controller.
// AgentVersion need not always exist so we omitempty here. This struct is
// used in both list-controllers and show-controllers. show-controllers
// displays the agent version where list-controllers does not.
// used in both list-controller and show-controller. show-controller
// displays the agent version where list-controller does not.
AgentVersion string `yaml:"agent-version,omitempty" json:"agent-version,omitempty"`
}

Expand Down

0 comments on commit e03fb8c

Please sign in to comment.