[pve-devel] [Patch V2 manager 7/8] Add the ACME plugin capabilities to the API.

Wolfgang Link w.link at proxmox.com
Tue Mar 31 12:08:44 CEST 2020


Signed-off-by: Wolfgang Link <w.link at proxmox.com>
---
 PVE/CLI/pvenode.pm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/PVE/CLI/pvenode.pm b/PVE/CLI/pvenode.pm
index d9e41a8e..e8c2005e 100644
--- a/PVE/CLI/pvenode.pm
+++ b/PVE/CLI/pvenode.pm
@@ -5,12 +5,11 @@ use warnings;
 
 use PVE::API2::ACME;
 use PVE::API2::ACMEAccount;
-use PVE::API2::ACMEPlugin;
 use PVE::API2::Certificates;
 use PVE::API2::NodeConfig;
 use PVE::API2::Nodes;
+use PVE::API2::ACMEPlugin; 
 use PVE::API2::Tasks;
-
 use PVE::CertHelpers;
 use PVE::Certificate;
 use PVE::Exception qw(raise_param_exc raise);
@@ -211,13 +210,12 @@ our $cmddef = {
 	plugin => {
 	    get => [ 'PVE::API2::ACMEPlugin', 'get_plugin_options', [], {},
 		     sub {
-			 my $line = shift;
-			 print $line;
+			my $line = shift;
+			print $line;
 		     } ],
 	    add => [ 'PVE::API2::ACMEPlugin', 'add_plugin', ['type', 'id'] ],
 	    del => [ 'PVE::API2::ACMEPlugin', 'delete_plugin', ['id'] ],
 	},
-
     },
 
     wakeonlan => [ 'PVE::API2::Nodes::Nodeinfo', 'wakeonlan', [ 'node' ], {}, sub {
-- 
2.20.1





More information about the pve-devel mailing list