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:
nitesh.vanarase 2018-08-06 14:51:54 +05:30
parent f53bdbb031
commit 5ce36facc5
1 changed files with 1 additions and 1 deletions

View File

@ -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.')