Report the power state of cloud instances

This commit is contained in:
Yadnesh Kulkarni 2021-09-15 15:21:42 +05:30
parent b4ba59993e
commit 14dbc68aa7
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ func osBuildCloudInstanceGroup(c OpenstackCloud, cluster *kops.Cluster, ig *kops
cm.Roles = []string{server.Metadata["KopsRole"]}
cm.State = cloudinstances.State(server.Status)
}
return cg, nil
}