From 9cb1f653ec47e5b6d536f5343104cfb7b3ddfc8c Mon Sep 17 00:00:00 2001 From: XuWei Date: Sun, 13 Nov 2016 21:51:52 -0500 Subject: [PATCH] fix probe discovery usage bug --- xCAT-probe/subcmds/discovery | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-probe/subcmds/discovery b/xCAT-probe/subcmds/discovery index 363a608fa..560705c29 100755 --- a/xCAT-probe/subcmds/discovery +++ b/xCAT-probe/subcmds/discovery @@ -32,6 +32,9 @@ my $monitor = 1; #used by developer, to debug the detail information about function running my $debug = 0; +my @valid_discovery_type = ("mtms", "switch"); +my $valid_discovery_type_str = join(",", @valid_discovery_type); + #--------------------------------------------- # Command Usage #--------------------------------------------- @@ -72,8 +75,6 @@ my $maxwaittime = 60; #unit is minute, the max wait time of monitor my $rollforward_time_of_replay; #used by feature replay discovery log my $noderange; my $discovery_type; -my @valid_discovery_type = ("mtms", "switch"); -my $valid_discovery_type_str = join(",", @valid_discovery_type); my $no_pre_check = 0; my $nics; if (