whitespace cleanups

This commit is contained in:
Dietmar Maurer
2015-04-27 10:09:18 +02:00
parent 3d621977f4
commit e0852ba7dc

View File

@ -492,13 +492,15 @@ sub storage_migrate {
} else { } else {
die "$errstr - target type '$tcfg->{type}' not implemented\n"; die "$errstr - target type '$tcfg->{type}' not implemented\n";
} }
} elsif ($scfg->{type} eq 'zfspool') { } elsif ($scfg->{type} eq 'zfspool') {
if($tcfg->{type} eq 'zfspool'){ if ($tcfg->{type} eq 'zfspool') {
die "$errstr - pool on target has not same name as source!"if $tcfg->{pool} ne $scfg->{pool}; die "$errstr - pool on target has not same name as source!"
if $tcfg->{pool} ne $scfg->{pool};
my ( undef, $volname) = parse_volname($cfg, $volid); my (undef, $volname) = parse_volname($cfg, $volid);
my $zfspath = "$scfg->{pool}\/$volname"; my $zfspath = "$scfg->{pool}\/$volname";