Merge "Remove provision_state parameters(specific to ironic)"
This commit is contained in:
commit
5014dd6855
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user