Merge "Remove a TODO item in cluster detach policy"

This commit is contained in:
Jenkins 2015-09-21 13:39:37 +00:00 committed by Gerrit Code Review
commit babf0556d2
1 changed files with 1 additions and 2 deletions

View File

@ -303,7 +303,6 @@ class Cluster(object):
self.rt['policies'].append(policy)
def remove_policy(self, policy):
# TODO(Qiming): check if actions of specified policies are ongoing
for p in self.rt['policies']:
if(p.id == policy.id):
if (p.id == policy.id):
self.rt['policies'].remove(p)