Merge pull request #8184 from radeksm/bugfix/cluster_name_in_status

Fix missing cluster node names in output of status command
pull/8446/head
Medya Ghazizadeh 2020-06-10 12:48:48 -07:00 committed by GitHub
commit ff86a552bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,8 +120,8 @@ var statusCmd = &cobra.Command{
statuses = append(statuses, st)
} else {
for _, n := range cc.Nodes {
glog.Infof("checking status of %s ...", n.Name)
machineName := driver.MachineName(*cc, n)
glog.Infof("checking status of %s ...", machineName)
st, err := status(api, *cc, n)
glog.Infof("%s status: %+v", machineName, st)