From f7765dd72e5ea5c38d6c2c903371b8543879d57a Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Fri, 25 Feb 2022 09:58:16 +0100 Subject: [PATCH] restore: remove duplicate check The refactoring in 36d4bdcb8621fb85a520fda5e9e948dcdc9c60c6 missed this. The check is already done as part of the following check_storage call. Signed-off-by: Fabian Ebner --- PVE/QemuServer.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 243c2e52..42f0fbda 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6257,9 +6257,6 @@ my $parse_backup_hints = sub { $devinfo->{$devname}->{storeid} = $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 $virtdev_hash->{$virtdev} = $devinfo->{$devname};