[pve-devel] [RFC pve-storage 27/36] plugin: iscsi-direct: make helper subroutine `iscsi_ls` private
Max Carrara
m.carrara at proxmox.com
Wed Jul 17 11:40:25 CEST 2024
in order to prevent it from being used in other places or third-party
plugins.
Signed-off-by: Max Carrara <m.carrara at proxmox.com>
---
src/PVE/Storage/ISCSIDirectPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/Storage/ISCSIDirectPlugin.pm b/src/PVE/Storage/ISCSIDirectPlugin.pm
index eb329d4..c804ab4 100644
--- a/src/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/src/PVE/Storage/ISCSIDirectPlugin.pm
@@ -11,7 +11,7 @@ use PVE::JSONSchema qw(get_standard_option);
use base qw(PVE::Storage::Plugin);
-sub iscsi_ls {
+my sub iscsi_ls {
my ($scfg, $storeid) = @_;
my $portal = $scfg->{portal};
--
2.39.2
More information about the pve-devel
mailing list