mirror of https://github.com/kubernetes/kops.git
Remove unused wait for status active func
This commit is contained in:
parent
3eb39a42ad
commit
9f828259ba
|
|
@ -96,11 +96,6 @@ func (e *Instance) GetDependencies(tasks map[string]fi.CloudupTask) []fi.Cloudup
|
||||||
|
|
||||||
var _ fi.CompareWithID = &Instance{}
|
var _ fi.CompareWithID = &Instance{}
|
||||||
|
|
||||||
// TODO: delete this as this function is not used anywhere?
|
|
||||||
func (e *Instance) WaitForStatusActive(t *openstack.OpenstackAPITarget) error {
|
|
||||||
return servers.WaitForStatus(t.Cloud.ComputeClient(), *e.ID, "ACTIVE", 120)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (e *Instance) CompareWithID() *string {
|
func (e *Instance) CompareWithID() *string {
|
||||||
return e.ID
|
return e.ID
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue