file_size_info: add missing format parameters

these calls would print spurious warnings otherwise.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2024-12-09 11:48:01 +01:00
parent a8d246e784
commit f1ea2c5c89
3 changed files with 5 additions and 3 deletions

View File

@ -538,7 +538,7 @@ sub volume_size_info {
return 0 if $volname =~ /\.vmx$/;
my $filename = $class->path($scfg, $volname, $storeid, undef);
return PVE::Storage::Plugin::file_size_info($filename, $timeout);
return PVE::Storage::Plugin::file_size_info($filename, $timeout, 'auto-detect');
}
sub volume_snapshot {