]> git.proxmox.com Git - pmg-api.git/commit
refactor API2::Domains for reuse in DKIMSign
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 21 Oct 2019 17:23:30 +0000 (19:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Oct 2019 09:27:43 +0000 (11:27 +0200)
commitb1a157737ecb4f0806dc0c6c0d2c411b25a149a9
treec26de448049626fff5e1ef6a5edd8bceb5e2883c
parent7ea4192546491577b019c113b6eb9fe12b16f758
refactor API2::Domains for reuse in DKIMSign

both DKIM Signed Domains and Relay Domains are lists of domains (DKIMSign falls
back to Relay Domains). By refactoring the method creation we can reuse most
of the code for the handling of DKIMSign domains

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/API2/Domains.pm