Merge pull request #62 from plieven/fix/snap_mount

fix: error out if snapname is set in filesystem_path
This commit is contained in:
Timur Kumakbayev
2025-03-26 12:06:35 +05:00
committed by GitHub
+2
View File
@@ -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 );