diff options
author | Ramesh Nachimuthu <rnachimu@redhat.com> | 2014-09-09 11:21:45 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-10-29 23:39:43 -0700 |
commit | 0ef0715b35850a69cb43805844fc6b9fe4c10b1f (patch) | |
tree | 2ec72c439b7f26b36e239a92e97fdc20fe45841e /plugins/discovery.py | |
parent | 380306ab746c717ec21617f29d611d6bb96ac5c3 (diff) |
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 <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/8658
Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'plugins/discovery.py')
-rwxr-xr-x | plugins/discovery.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |