From 77df8ca6c6adc984cbeccec1349829591ff76071 Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Wed, 21 May 2014 11:03:20 +0530 Subject: autoconfig: fix for timeout param issue in auto mode Passing the timeout parameter to writeDelta() in auto mode also. Change-Id: Ia18ae225e5b6e239b4d4b09357d51844d5a868f5 Signed-off-by: Ramesh Nachimuthu Reviewed-on: http://review.gluster.org/7817 Reviewed-by: Shubhendu Tripathi Reviewed-by: Kanagaraj M Reviewed-by: Timothy Asir --- plugins/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/discovery.py') diff --git a/plugins/discovery.py b/plugins/discovery.py index 08b2229..87892e9 100755 --- a/plugins/discovery.py +++ b/plugins/discovery.py @@ -493,7 +493,7 @@ if __name__ == '__main__': #auto mode means write the configurations without asking confirmation elif args.mode == "auto": writeDelta(clusterDelta, configManager, args.force, - args.nagiosServerIP, args.mode) + args.nagiosServerIP, args.mode, args.timeout) msg = "Cluster configurations synced successfully from host %s" % \ (args.hostip) print msg -- cgit