mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-02-03 13:47:16 +03:00
Fiona Ebner
e8e477112f
RBD plugin: path: conditionalize get_rbd_dev_path() call
The return value of get_rbd_dev_path() is only used when $scfg->{krbd} evaluates to true and the function shouldn't have any side effects that are needed later, so the call can be avoided otherwise. This also saves a RADOS connection and command with configurations for external clusters with krbd disabled. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Description
No description provided
Languages
Perl
99.2%
Makefile
0.7%