]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
(finally) fix #1099: return disklist correctly
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 8 Nov 2017 08:01:58 +0000 (09:01 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 14 Nov 2017 12:23:52 +0000 (13:23 +0100)
commitfc7c0e05046e5b94ffbcde1380c6623b919a1f86
tree520497dde89dca8813736d6ac7a8f89b3c22f5f0
parentcaf67736d9f561cb7cc4a3ca15fa6d1da62bb8d0
(finally) fix #1099: return disklist correctly

in get_disks, when called with a parameter 'cciss/cXdY', we replaced
the '/' with '!' so that we can properly poll the information
about it from /sys/block/

but we have to replace the '!' with '/' again in our result list,
because the caller does not know anything about it and fails, because
the original dev is not in the list

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Diskmanage.pm
test/disk_tests/cciss/disklist_expected.json