[pve-devel] [PATCH access-control 4/9] API2/Domains.pm: document 'type' return value

Dominik Csapak d.csapak at proxmox.com
Fri Mar 6 11:05:40 CET 2020


this way it gets printed with 'pveum realm list'

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Domains.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2/Domains.pm b/PVE/API2/Domains.pm
index 0e8bcf3..7f98e71 100644
--- a/PVE/API2/Domains.pm
+++ b/PVE/API2/Domains.pm
@@ -34,6 +34,7 @@ __PACKAGE__->register_method ({
 	    type => "object",
 	    properties => {
 		realm => { type => 'string' },
+		type => { type => 'string' },
 		tfa => {
 		    description => "Two-factor authentication provider.",
 		    type => 'string',
-- 
2.20.1





More information about the pve-devel mailing list