From d84b5d2ea40002dc8731fd43a685c62e37c477ea Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 24 Dec 2012 14:19:53 +0000 Subject: [PATCH] updates to allow sync of servicendes in one command and not one node at a time git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index a315e13d1..d23202506 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -285,7 +285,8 @@ sub execute_dcp } if (scalar(@targets_failed) > 0) { - $::DCP_NODES_FAILED = join ",", @targets_failed; + #$::DCP_NODES_FAILED = join ",", @targets_failed; + @::DCP_NODES_FAILED = @targets_failed; } return (scalar(@targets_failed) + scalar(keys(%unresolved_targets))); @@ -401,7 +402,8 @@ sub execute_dsh \%unresolved_targets, \%context_targets); if (scalar(@targets_failed) > 0) { - $::DSH_NODES_FAILED = join ",", @targets_failed; + # $::DSH_NODES_FAILED = join ",", @targets_failed; + @::DSH_NODES_FAILED = @targets_failed; } return (scalar(@targets_failed) + scalar(keys(%unresolved_targets)));