From 1bf8bbea994adbe10ff134bd75f569eccbebc42a Mon Sep 17 00:00:00 2001 From: Kanagaraj M Date: Sun, 4 May 2014 17:33:40 +0530 Subject: plugins: fix exitstatus in geo-rep status plugin Changed the exit code from PluginStatus to PluginStatusCode Change-Id: I7a54184516e4c9456ec7c93d02f7f0c1e0224368 Signed-off-by: Kanagaraj M Reviewed-on: http://review.gluster.org/7657 Reviewed-by: Ramesh N Reviewed-by: Shubhendu Tripathi --- plugins/check_volume_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/check_volume_status.py b/plugins/check_volume_status.py index f2c0f39..9404251 100755 --- a/plugins/check_volume_status.py +++ b/plugins/check_volume_status.py @@ -114,7 +114,7 @@ def getVolumeGeoRepStatus(args): exitstatus = utils.PluginStatusCode.WARNING message = "Not Started" else: - exitstatus = utils.PluginStatus.OK + exitstatus = utils.PluginStatusCode.OK message = "OK" return exitstatus, message -- cgit