mirror of
https://github.com/kolesa-team/pve-purestorage-plugin.git
synced 2026-08-12 21:53:06 -06:00
Merge pull request #62 from plieven/fix/snap_mount
fix: error out if snapname is set in filesystem_path
This commit is contained in:
@@ -892,6 +892,8 @@ sub filesystem_path {
|
||||
my ( $class, $scfg, $volname, $snapname ) = @_;
|
||||
print "Debug :: PVE::Storage::Custom::PureStoragePlugin::sub::filesystem_path\n" if $DEBUG;
|
||||
|
||||
die "Error :: filesystem_path: snapshot is not implemented ($snapname)\n" if defined($snapname);
|
||||
|
||||
# do we even need this?
|
||||
my ( $vtype, undef, $vmid ) = $class->parse_volname( $volname );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user