]> git.proxmox.com Git - pve-storage.git/commit
rbd: add fallback default poolname 'rbd' to status
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 3 May 2022 11:31:39 +0000 (13:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 13 May 2022 12:08:13 +0000 (14:08 +0200)
commit0c317c6c0f257ec1f53a538f5b07b12d6f35cc7a
tree5d4e9c30c9bdab071baa960d8ef7a5062079dd09
parentf49c6cde16245ac32ddd1edc0d0262189794eb64
rbd: add fallback default poolname 'rbd' to status

the fallback to a default pool name of 'rbd' was introduced in:
1440604a4b072b88cc1e4f8bbae4511b50d1d68e
and worked for the status command, because it used the `rados_cmd`
sub.

This fallback was lost with the changes in:
41aacc6cdeea9b0c8007cbfb280acf827932c3d6

leading to confusing errors:
`Use of uninitialized value in string eq at \
/usr/share/perl5/PVE/Storage/RBDPlugin.pm line 633`
(e.g. in the journal from pvestatd)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/Storage/RBDPlugin.pm