Code clean up. Fix wrong indentation.
Signed-off-by: Michael Rasmussen <mir@datanom.net>
This commit is contained in:
committed by
Dietmar Maurer
parent
dda2651943
commit
86f00da603
@ -64,7 +64,6 @@ my $execute_command = sub {
|
||||
$cmd = [@ssh_cmd, $target, $method, @params];
|
||||
}
|
||||
|
||||
print Dumper($cmd);
|
||||
eval {
|
||||
run_command($cmd, outfunc => $output, errfunc => $errfunc, timeout => $timeout);
|
||||
};
|
||||
@ -214,7 +213,7 @@ my $update_config = sub {
|
||||
while ((my $option, my $value) = each(%$lun)) {
|
||||
next if ($option eq 'include' || $option eq 'lun' || $option eq 'Path');
|
||||
if ($lun_opt eq '') {
|
||||
$lun_opt .= $option . '=' . $value;
|
||||
$lun_opt = $option . '=' . $value;
|
||||
} else {
|
||||
$lun_opt .= ',' . $option . '=' . $value;
|
||||
}
|
||||
@ -475,3 +474,4 @@ sub get_base {
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user