Persist external resources on update
We were missing a call to update the template for convergence purpose when updating an external resource. Change-Id: I37e29aaf4110faa00c777c76640be485224720ca Closes-Bug: #1756269
This commit is contained in:
parent
41d0862ec2
commit
e8f556d6db
|
@ -1607,6 +1607,8 @@ class Resource(status.ResourceStatus):
|
|||
raise exception.ResourceFailure(exc, self, action)
|
||||
elif after_external_id is not None:
|
||||
LOG.debug("Skip update on external resource.")
|
||||
if update_templ_func is not None:
|
||||
update_templ_func(persist=True)
|
||||
return
|
||||
|
||||
after_props, before_props = self._prepare_update_props(after, before)
|
||||
|
|
Loading…
Reference in New Issue