src/api2/types.rs: define PROXMOX_AUTH_REALM_SCHEMA and PROXMOX_USER_ID_SCHEMA

And try to use nbew schemas with config api...
This commit is contained in:
Dietmar Maurer committed 2020-01-13 14:18:19 +01:00
1 parent b25f313d66
commit 163dc16c0b
3 files changed
+34 -8

No files matched your search

+2 -2
View File
@@ -42,10 +42,10 @@ pub fn list_remotes(
schema: SINGLE_LINE_COMMENT_SCHEMA,
},
host: {
schema: remotes::REMOTE_HOST_SCHEMA,
schema: DNS_NAME_OR_IP_SCHEMA,
},
userid: {
schema: remotes::REMOTE_USERID_SCHEMA,
schema: PROXMOX_USER_ID_SCHEMA,
},
password: {
schema: remotes::REMOTE_PASSWORD_SCHEMA,