Remove provision_state parameters(specific to ironic)
The provision_state parameter was copied from ironic with following patch: https://review.openstack.org/#/c/138280 It should be removed as it's not required in magnum. Change-Id: Id9e08ee731ae79531c8e29fd47e4fa650b1c5dcc Partial-Bug: #1627663
This commit is contained in:
parent
1d1096ce54
commit
5902daf8ae
|
@ -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…
Reference in New Issue