mirror of https://github.com/kubernetes/kops.git
Report the power state of cloud instances
This commit is contained in:
parent
b4ba59993e
commit
14dbc68aa7
|
|
@ -155,6 +155,8 @@ func osBuildCloudInstanceGroup(c OpenstackCloud, cluster *kops.Cluster, ig *kops
|
||||||
|
|
||||||
cm.Roles = []string{server.Metadata["KopsRole"]}
|
cm.Roles = []string{server.Metadata["KopsRole"]}
|
||||||
|
|
||||||
|
cm.State = cloudinstances.State(server.Status)
|
||||||
|
|
||||||
}
|
}
|
||||||
return cg, nil
|
return cg, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue