Place the error message to correct position
Modify the error message 'You must define nova network id to restore' to be around the 'Nova Network ID' field. Change-Id: Ic732a33c2fd754afa6d1d796b8d9e6f1e382c135 Closes-Bug: #1663888
This commit is contained in:
parent
40f832375f
commit
f702a606ca
@ -187,7 +187,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'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user