Signed-off-by: Alexandre Derumier <aderum...@odiso.com>
---
 PVE/API2/Network/SDN/Zones.pm         | 2 +-
 PVE/API2/Network/SDN/Zones/Content.pm | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/PVE/API2/Network/SDN/Zones.pm b/PVE/API2/Network/SDN/Zones.pm
index 3e371df..f629f43 100644
--- a/PVE/API2/Network/SDN/Zones.pm
+++ b/PVE/API2/Network/SDN/Zones.pm
@@ -35,7 +35,7 @@ my $api_sdn_zones_config = sub {
     $scfg->{digest} = $cfg->{digest};
 
     if ($scfg->{nodes}) {
-        $scfg->{nodes} = PVE::Storage::Plugin->encode_value($scfg->{type}, 
'nodes', $scfg->{nodes});
+        $scfg->{nodes} = 
PVE::Network::SDN::Zones::Plugin->encode_value($scfg->{type}, 'nodes', 
$scfg->{nodes});
     }
 
     return $scfg;
diff --git a/PVE/API2/Network/SDN/Zones/Content.pm 
b/PVE/API2/Network/SDN/Zones/Content.pm
index fb76133..66f49df 100644
--- a/PVE/API2/Network/SDN/Zones/Content.pm
+++ b/PVE/API2/Network/SDN/Zones/Content.pm
@@ -6,7 +6,6 @@ use Data::Dumper;
 
 use PVE::SafeSyslog;
 use PVE::Cluster;
-use PVE::Storage;
 use PVE::INotify;
 use PVE::Exception qw(raise_param_exc);
 use PVE::RPCEnvironment;
-- 
2.20.1

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to