Merge "Remove provision_state parameters(specific to ironic)"

This commit is contained in:
Jenkins 2017-01-14 04:35:37 +00:00 committed by Gerrit Code Review
commit 5014dd6855

View File

@ -221,9 +221,6 @@ class Connection(api.Connection):
except NoResultFound:
raise exception.ClusterNotFound(cluster=cluster_id)
if 'provision_state' in values:
values['provision_updated_at'] = timeutils.utcnow()
ref.update(values)
return ref
@ -425,9 +422,6 @@ class Connection(api.Connection):
except NoResultFound:
raise exception.X509KeyPairNotFound(x509keypair=x509keypair_id)
if 'provision_state' in values:
values['provision_updated_at'] = timeutils.utcnow()
ref.update(values)
return ref