From 0ef0715b35850a69cb43805844fc6b9fe4c10b1f Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Tue, 9 Sep 2014 11:21:45 +0530 Subject: autoconf: fix the error message for duplicate host Modified the error message for the case when there is already a host with same name existing. Change-Id: I2e6b5ef80baa0a45d94f069980ac81b1fbd8c058 Bug-Url: https://bugzilla.redhat.com/1112201 Signed-off-by: Ramesh Nachimuthu Reviewed-on: http://review.gluster.org/8658 Reviewed-by: Sahina Bose --- plugins/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/discovery.py b/plugins/discovery.py index 1ce4679..eb77313 100755 --- a/plugins/discovery.py +++ b/plugins/discovery.py @@ -530,7 +530,7 @@ if __name__ == '__main__': replaceHostNamesWithCurrentName(clusterdata.get('hosts')) duplicateHost = _findDuplicateHost(clusterdata.get('hosts'), args.cluster) if duplicateHost: - print "ERROR: Host '%s' is already being monitored" % duplicateHost + print "ERROR: Host name '%s' is already in use" % duplicateHost sys.exit(utils.PluginStatusCode.CRITICAL) configManager = getConfigManager(args) -- cgit