]> git.proxmox.com Git - pve-storage.git/commit
iscsi: always recheck if iscsiadm binary is available
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 27 Oct 2023 11:42:46 +0000 (13:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 27 Oct 2023 11:43:18 +0000 (13:43 +0200)
commit6f072aaaa82fd549ebf202673cc2256827b2c6d5
treed6a06142ec2339c46ef77cea5b69a0929ddb6351
parent90c1b10cc579103cdfba237b2629f618deea1648
iscsi: always recheck if iscsiadm binary is available

this avoids the need for restarting all services that have pve-storage
modules loaded after the admin installed open-iscsi.

while at it make it a bit more clear that this might die by using
assert in the method name.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Storage/ISCSIPlugin.pm