Remove unused wait for status active func

This commit is contained in:
ederst 2023-02-24 01:28:39 +01:00
parent 3eb39a42ad
commit 9f828259ba
1 changed files with 0 additions and 5 deletions

View File

@ -96,11 +96,6 @@ func (e *Instance) GetDependencies(tasks map[string]fi.CloudupTask) []fi.Cloudup
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 {
return e.ID
}