Remove unused code

This commit is contained in:
John Gardiner Myers 2019-12-31 14:33:05 -08:00
parent 0cbd76ecfb
commit cd499f6f09
1 changed files with 0 additions and 9 deletions

View File

@ -377,12 +377,3 @@ func (r *RollingUpdateInstanceGroup) deleteNode(node *corev1.Node, rollingUpdate
return nil
}
// Delete a CloudInstanceGroups
func (r *RollingUpdateInstanceGroup) Delete() error {
if r.CloudGroup == nil {
return fmt.Errorf("group has to be set")
}
// TODO: Leaving func in place in order to cordon and drain nodes
return r.Cloud.DeleteGroup(r.CloudGroup)
}