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

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Apr 1 15:27:21 CEST 2020


I think this is somehow leftover and should be dropped/merged with other 
patches?

On March 31, 2020 12:08 pm, Wolfgang Link wrote:
> 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
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 




More information about the pve-devel mailing list