parse_volname: document return values
This commit is contained in:
@ -290,6 +290,9 @@ sub parse_volname {
|
|||||||
my $scfg = storage_config($cfg, $storeid);
|
my $scfg = storage_config($cfg, $storeid);
|
||||||
|
|
||||||
my $plugin = PVE::Storage::Plugin->lookup($scfg->{type});
|
my $plugin = PVE::Storage::Plugin->lookup($scfg->{type});
|
||||||
|
|
||||||
|
# returns ($vtype, $name, $vmid, $basename, $basevmid, $isBase, $format)
|
||||||
|
|
||||||
return $plugin->parse_volname($volname);
|
return $plugin->parse_volname($volname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user