diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index 189356a..a573959 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -968,10 +968,7 @@ sub list_volumes { } else { $item->{content} = 'images'; } - if (!($type eq $item->{content})) { - next; - } - + next if $type ne $item->{content}; } else { $item->{content} = $type; }