mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-02-04 17:47:17 +03:00
rbd: minor regex fixup
This commit is contained in:
parent
292a33fdd4
commit
b2e430d30f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user