From b2e430d30f93272d22d7200e00b5ea99264d1ee0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 20 Feb 2017 10:00:57 +0100 Subject: [PATCH] rbd: minor regex fixup --- PVE/Storage/RBDPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 942bd7b..11ac094 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm @@ -186,7 +186,7 @@ sub rbd_ls { if ($line =~ m/^((vm|base)-(\d+)-\S+)\s+(\d+)(k|M|G|T)\s((\S+)\/((vm|base)-\d+-\S+@\S+))?/) { my ($image, $owner, $size, $unit, $parent) = ($1, $3, $4, $5, $8); - next if $image =~ m/"@"/; #skip snapshots + next if $image =~ /@/; #skip snapshots $list->{$pool}->{$image} = { name => $image,