[pve-devel] [PATCH 4/5] DRBD: indentation fixes as produced by vim.

Philipp Marek philipp.marek at linbit.com
Thu Oct 8 10:24:48 CEST 2015


---
 PVE/Storage/DRBDPlugin.pm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/PVE/Storage/DRBDPlugin.pm b/PVE/Storage/DRBDPlugin.pm
index b150b16..14f232b 100644
--- a/PVE/Storage/DRBDPlugin.pm
+++ b/PVE/Storage/DRBDPlugin.pm
@@ -364,7 +364,7 @@ sub volume_resize {
     $size = int($size/1024);
     my $hdl = connect_drbdmanage_service();
 
-    # FIXME if there's ever more than one volume in a resource
+# FIXME if there's ever more than one volume in a resource
     my ($rc) = $hdl->resize_volume($volname, 0, 0, $size, 0);
     check_drbd_res($rc);
 
@@ -393,17 +393,17 @@ sub volume_has_feature {
     my ($class, $scfg, $feature, $storeid, $volname, $snapname, $running) = @_;
 
     my $features = {
-	copy => { base => 1, current => 1},
+        copy => { base => 1, current => 1},
     };
 
     my ($vtype, $name, $vmid, $basename, $basevmid, $isBase) =
-	$class->parse_volname($volname);
+        $class->parse_volname($volname);
 
     my $key = undef;
     if($snapname){
-	$key = 'snap';
+        $key = 'snap';
     }else{
-	$key =  $isBase ? 'base' : 'current';
+        $key =  $isBase ? 'base' : 'current';
     }
     return 1 if $features->{$feature}->{$key};
 
-- 
2.6.1




More information about the pve-devel mailing list