Skip to content

Commit

Permalink
modify for lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxggo committed Jul 21, 2023
1 parent fa11535 commit 7c3544e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/ssh/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ func NewSSHByCluster(cluster *v2.Cluster, isStdout bool) (Interface, error) {
configs: make(map[string]*Option),
cache: make(map[*Option]Interface),
}
var ipList []string
ipList = append(ipList, append(cluster.GetIPSByRole(v2.MASTER), cluster.GetIPSByRole(v2.NODE)...)...)

return cc, nil
}

Expand Down

0 comments on commit 7c3544e

Please sign in to comment.