Fix update of OS::Heat::UpdateWaitConditionHandle

The update method has incomplete arguments and causes error during
actual stack update operation.

Story: 2011068
Task: 49751
Change-Id: I7b141f8846005da8379b1c646b298088d27a66bc
(cherry picked from commit 399352dfdc)
This commit is contained in:
Takashi Kajinami 2024-03-21 09:44:26 +09:00
parent 2f4cfd5d25
commit 202bc9f572
2 changed files with 7 additions and 1 deletions

View File

@ -233,7 +233,8 @@ class UpdateWaitConditionHandle(aws_wch.WaitConditionHandle):
support_status = support.SupportStatus(version='2014.1')
def update(self, after, before=None, prev_resource=None):
def update(self, after, before=None, prev_resource=None,
new_template_id=None, new_requires=None):
raise resource.UpdateReplace(self.name)

View File

@ -0,0 +1,5 @@
---
features:
- |
Fixed the ``OS::Heat::UpdateWaitConditionHandle`` resource type, which
caused stack update to fail consistently.