mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 20:36:20 +00:00
restore: remove duplicate check
The refactoring in 36d4bdcb86
missed
this. The check is already done as part of the following check_storage
call.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
39abafc8e7
commit
f7765dd72e
@ -6257,9 +6257,6 @@ my $parse_backup_hints = sub {
|
|||||||
$devinfo->{$devname}->{storeid} = $storeid;
|
$devinfo->{$devname}->{storeid} = $storeid;
|
||||||
|
|
||||||
my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
|
my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
|
||||||
die "Content type 'images' is not available on storage '$storeid'\n"
|
|
||||||
if !$scfg->{content}->{images};
|
|
||||||
|
|
||||||
$check_storage->($storeid, $scfg); # permission and content type check
|
$check_storage->($storeid, $scfg); # permission and content type check
|
||||||
|
|
||||||
$virtdev_hash->{$virtdev} = $devinfo->{$devname};
|
$virtdev_hash->{$virtdev} = $devinfo->{$devname};
|
||||||
|
Loading…
Reference in New Issue
Block a user