diff options
author | Ramesh Nachimuthu <rnachimu@redhat.com> | 2014-05-21 11:03:20 +0530 |
---|---|---|
committer | Timothy Asir <tim.gluster@gmail.com> | 2014-05-20 22:54:08 -0700 |
commit | 77df8ca6c6adc984cbeccec1349829591ff76071 (patch) | |
tree | 51ab00bfa22a076cf4c09804aa7249340ecc5c29 | |
parent | 38421f7faf1665d8b5b9cfbfffed9b34dd584ace (diff) |
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 <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/7817
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
-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 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 |