diff --git a/cli/command/enter.go b/cli/command/enter.go index 2beffa6f6..44f01c141 100644 --- a/cli/command/enter.go +++ b/cli/command/enter.go @@ -37,11 +37,7 @@ import ( ) type enterOptions struct { - id string - role string - host string - verbose bool - showInstances bool + id string } func NewEnterCommand(curveadm *cli.CurveAdm) *cobra.Command { @@ -118,8 +114,8 @@ func runEnter(curveadm *cli.CurveAdm, options enterOptions) error { // 3) get container id dc = dcs[0] } else { - statusOptions1 := statusOptions{id: "*", role: "*", host: "*"} - pb, err := genStatusForLeaderPlaybook(curveadm, dcs, statusOptions1) + statusForLeaderOptions := statusOptions{id: "*", role: "*", host: "*"} + pb, err := genStatusForLeaderPlaybook(curveadm, dcs, statusForLeaderOptions) if err != nil { return err }