Skip to content

Commit

Permalink
enter_modify_1
Browse files Browse the repository at this point in the history
Signed-off-by: lyp <[email protected]>
  • Loading branch information
LYPWYT committed Nov 11, 2023
1 parent 26d114f commit 6607f8c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cli/command/enter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 6607f8c

Please sign in to comment.