Skip to content

Commit

Permalink
Clean return
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiamac committed Nov 11, 2019
1 parent b317e2d commit a3c8b61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/modelcmd/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ func (c *OptionalControllerCommand) MaybePrompt(ctxt *cmd.Context, action string
if jujucmd.IsPiped(ctxt) {
return errors.Errorf("The command is piped and Juju cannot prompt to clarify whether the --client or a --controller is to be used.\n" +
"Please clarify by re-running the command with the desired option(s).")
return cmd.ErrSilent
}
if currentController == "" {
msg := "No current controller was detected"
Expand Down

0 comments on commit a3c8b61

Please sign in to comment.