Skip to contentSkip to conversation

xl: Use _VerboseCommand for save/restore/migrate

PATCH In review Ian Campbell 2 participants 2 messages Jul 17, 2015 – Jul 24, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xl: Use _VerboseCommand for save/restore/migrate

Additional logging is as useful here as for create.

---
 Osstest/Toolstack/xl.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Osstest/Toolstack/xl.pm +3 -3
index 3c3d348..becda7d 100644
@@ -76,7 +76,7 @@ sub migrate ($$$$) {
     my $dst = $dho->{Name};
     my $gn = $gho->{Name};
     target_cmd_root($sho,
-		    $self->{_Command}." migrate $gn $dst",
+		    $self->{_VerboseCommand}." migrate $gn $dst",
 		    $timeout);
 }
 
@@ -84,7 +84,7 @@ sub save ($$$$) {
     my ($self,$gho,$f,$timeout) = @_;
     my $ho = $self->{Host};
     my $gn = $gho->{Name};
-    target_cmd_root($ho,$self->{_Command}." save $gn $f", $timeout);
+    target_cmd_root($ho,$self->{_VerboseCommand}." save $gn $f", $timeout);
 }
 
 sub restore ($$$$) {
@@ -93,7 +93,7 @@ sub restore ($$$$) {
     my $gn = $gho->{Name};
     my $cfg = $self->{RestoreNeedsConfig} ? $gho->{CfgPath} : '';
     target_cmd_root($ho,
-		    $self->{_Command}
+		    $self->{_VerboseCommand}
 		    ." restore "
 		    .$cfg
 		    ." $f", $timeout);
Signature · 1 line
2.1.4
Acked-by on v1 1/1
#1 lore raw

Ian Campbell writes ("[PATCH OSSTEST] xl: Use _VerboseCommand for save/restore/migrate"):

Quoted 1 line

Additional logging is as useful here as for create.