From 5ce36facc598f08af20282608d936eee22dcd146 Mon Sep 17 00:00:00 2001 From: "nitesh.vanarase" Date: Mon, 6 Aug 2018 14:51:54 +0530 Subject: [PATCH] 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 --- masakaridashboard/hosts/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masakaridashboard/hosts/forms.py b/masakaridashboard/hosts/forms.py index 7429ed0..37ab44a 100644 --- a/masakaridashboard/hosts/forms.py +++ b/masakaridashboard/hosts/forms.py @@ -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.')