]> git.proxmox.com Git - pve-storage.git/commitdiff
nexenta: fix parameter for create_snapshot
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 17 Sep 2012 08:26:21 +0000 (10:26 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 17 Sep 2012 08:26:21 +0000 (10:26 +0200)
PVE/Storage/NexentaPlugin.pm

index 98e2473b1f14c949e60cf2534c298753d9af3656..4f28c81e7e34b5a0ccaed0c967cdf74f5710c6c4 100644 (file)
@@ -321,7 +321,7 @@ sub volume_resize {
 sub volume_snapshot {
     my ($class, $scfg, $storeid, $volname, $snap, $running) = @_;
 
-    nexenta_request($scfg, 'create_snapshot', 'zvol', "$scfg->{pool}/$volname", $snap, 0);
+    nexenta_request($scfg, 'create_snapshot', 'zvol', "$scfg->{pool}/$volname", $snap, '');
 }
 
 sub volume_snapshot_rollback {