Access to action's uuid by key

Change-Id: I9fe992be8f54de51f0c8e0a9fcf7880c68360929
Closes-Bug: #1818962
This commit is contained in:
Tatiana Kholkina 2019-03-14 11:51:48 +03:00
parent a3e5b26ca4
commit e830d3793e
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ class ChangeNovaServiceStateActionValidator(BaseActionValidator):
def validate_parents(self, resource_action_map, action):
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')
return []