Fix incorrect message for host update
For host update it is showing incorrect message as "Successfully updated segment". Modified the message as "Successfully updated host". Change-Id: Ib0c323a2b16b67ca73d0a0e5333ae69800e0203d
This commit is contained in:
parent
f53bdbb031
commit
5ce36facc5
|
@ -62,7 +62,7 @@ class UpdateHostForm(forms.SelfHandlingForm):
|
|||
'on_maintenance': data['on_maintenance']}
|
||||
api.update_host(request, data['uuid'],
|
||||
data["failover_segment_id"], attrs)
|
||||
msg = _('Successfully updated segment.')
|
||||
msg = _('Successfully updated host.')
|
||||
messages.success(request, msg)
|
||||
except Exception:
|
||||
msg = _('Failed to update host.')
|
||||
|
|
Loading…
Reference in New Issue