[pve-devel] PVE::Storage::volume_has_feature
Dietmar Maurer
dietmar at proxmox.com
Mon May 6 06:24:05 CEST 2013
That function seems to ignore the 'running'parameter, for example:
--------test code------
#!/usr/bin/perl -w
use strict;
use PVE::Storage;
my $volid = "local:200/vm-200-disk-1.qcow2";
my $snapname = "firstboot";
my $runnung = 1;
my $storecfg = PVE::Storage::config();
die "got unexpected result" if PVE::Storage::volume_has_feature($storecfg, 'copy', $volid, $snapname, 1);;
----- end test code---------
how can we fix that?
More information about the pve-devel
mailing list