Access to action's uuid by key
Change-Id: I9fe992be8f54de51f0c8e0a9fcf7880c68360929
Closes-Bug: #1818962
(cherry picked from commit e830d3793e)
This commit is contained in:
committed by
Vlad Gusev
parent
abbe182cf1
commit
d226c5d0fb
@@ -279,7 +279,7 @@ class ChangeNovaServiceStateActionValidator(BaseActionValidator):
|
|||||||
|
|
||||||
def validate_parents(self, resource_action_map, action):
|
def validate_parents(self, resource_action_map, action):
|
||||||
host_name = action['input_parameters']['resource_id']
|
host_name = action['input_parameters']['resource_id']
|
||||||
self._mapping(resource_action_map, host_name, action.uuid,
|
self._mapping(resource_action_map, host_name, action['uuid'],
|
||||||
'change_nova_service_state')
|
'change_nova_service_state')
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user