Merge "Place the error message to correct position"

This commit is contained in:
Jenkins 2017-03-08 14:22:22 +00:00 committed by Gerrit Code Review
commit 83aaebf879
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class ActionConfigurationAction(workflows.Action):
def _check_nova_network_id(self, cleaned_data):
if not cleaned_data.get('nova_network_id'):
msg = _("You must define nova network id to restore.")
self._errors['nova_inst_id'] = self.error_class([msg])
self._errors['nova_network_id'] = self.error_class([msg])
def _check_nova_inst_id(self, cleaned_data):
if not cleaned_data.get('nova_inst_id'):