From 0877df047c4273a13ae797c5bcac9536c4c32ab6 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 21 Nov 2019 12:28:49 +0100 Subject: [PATCH] cleanuo: no need to negate we have not-equal Signed-off-by: Thomas Lamprecht --- PVE/Storage/Plugin.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; }