Skip to content

Commit

Permalink
prepare command not used; return to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
twalluxio committed Aug 22, 2023
1 parent 7aa1ce0 commit 0d44fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/alluxio.org/cli/processes/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewHostnamesFile(name string) *HostnamesFile {
// For each hostname, create an SSH client and run the given command
func RunSshCommand(command string, hostGroups ...string) error {
// prepare client config, ssh port info
config, port, err := PrepareCommand()
config, port, err := prepareCommand()
if err != nil {
return stacktrace.Propagate(err, "prepare command failed")
}
Expand Down Expand Up @@ -126,7 +126,7 @@ func RunSshCommand(command string, hostGroups ...string) error {
return nil
}

func PrepareCommand() (*ssh.ClientConfig, int, error) {
func prepareCommand() (*ssh.ClientConfig, int, error) {
// get the current user
cu, err := user.Current()
if err != nil {
Expand Down

0 comments on commit 0d44fbd

Please sign in to comment.