def finalizer(): """ Delete multiple dc pods """ if hasattr(class_instance, 'dc_pod_objs'): for pod in class_instance.dc_pod_objs: helpers.delete_deploymentconfig(pod_obj=pod)
def finalizer(): """ Delete dc pods """ for instance in instances: helpers.delete_deploymentconfig(instance)
def finalizer(): helpers.delete_deploymentconfig(pod_obj)