[pmg-devel] [PATCH pmg-api 10/12] pmgconfig: add dkim commands
Dominik Csapak
d.csapak at proxmox.com
Mon Oct 14 11:11:19 CEST 2019
one nit inline
On 10/7/19 9:28 PM, Stoiko Ivanov wrote:
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> src/PMG/CLI/pmgconfig.pm | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/PMG/CLI/pmgconfig.pm b/src/PMG/CLI/pmgconfig.pm
> index 6aa27ed..6765a5b 100644
> --- a/src/PMG/CLI/pmgconfig.pm
> +++ b/src/PMG/CLI/pmgconfig.pm
> @@ -18,6 +18,7 @@ use PMG::LDAPConfig;
> use PMG::LDAPSet;
> use PMG::Config;
> use PMG::Ticket;
> +use PMG::API2::DKIMSign;
>
> use base qw(PVE::CLIHandler);
>
> @@ -190,6 +191,12 @@ our $cmddef = {
> apicert => [ __PACKAGE__, 'apicert', []],
> tlscert => [ __PACKAGE__, 'tlscert', []],
> init => [ __PACKAGE__, 'init', []],
> + dkim_set => [ 'PMG::API2::DKIMSign', 'set_selector', []],
> + dkim_record => [ 'PMG::API2::DKIMSign', 'get_selector_info', [], undef,
> + sub {
> + my ($res) =@_;
missing space
> + print "$res->{record}\n";
> + }],
> };
>
>
>
More information about the pmg-devel
mailing list