From edce8f57b551c0bfc22312f45160aa95b08ed233 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 18 Nov 2020 16:26:51 +0100 Subject: [PATCH] pbs: schema style fixes Signed-off-by: Thomas Lamprecht --- src/PMG/API2/PBS/Job.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/PMG/API2/PBS/Job.pm b/src/PMG/API2/PBS/Job.pm index 2920c54..b8249bf 100644 --- a/src/PMG/API2/PBS/Job.pm +++ b/src/PMG/API2/PBS/Job.pm @@ -482,9 +482,11 @@ __PACKAGE__->register_method ({ }, }, }, - returns => { type => 'object', properties => { + returns => { + type => 'object', + properties => { remote => { - description => "Proxmox Backup Server ID.", + description => "Proxmox Backup Server remote ID.", type => 'string', format => 'pve-configid', optional => 1, }, @@ -502,7 +504,8 @@ __PACKAGE__->register_method ({ description => "unit file for the systemd.timer unit", type => 'string', optional => 1, }, - }}, + } + }, code => sub { my ($param) = @_; -- 2.39.5