Signed-off-by: Wolfgang Link <w.l...@proxmox.com> --- src/PVE/JSONSchema.pm | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 3eb38eb..0c655bc 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -183,6 +183,13 @@ sub parse_storage_id { return parse_id($storeid, 'storage', $noerr); } +PVE::JSONSchema::register_format('acme-plugin-id', \&parse_acme_plugin_id); +sub parse_acme_plugin_id { + my ($pluginid, $noerr) = @_; + + return parse_id($pluginid, 'ACME plugin', $noerr); +} + sub parse_id { my ($id, $msg, $noerr) = @_; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel