clean: fix whitspaces and minor code issues

removed Data::Dumper and a newline

Signed-off-by: Philipp Hufnagl <p.hufnagl@proxmox.com>

re-added the newline, but fixed up the indentation at that line..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Philipp Hufnagl
2023-07-25 16:37:19 +02:00
committed by Fabian Grünbichler
parent 42c08f41cb
commit 618bdfd927
2 changed files with 36 additions and 37 deletions

View File

@ -53,7 +53,7 @@ __PACKAGE__->register_method ({
protected => 1,
proxyto => 'node',
parameters => {
additionalProperties => 0,
additionalProperties => 0,
properties => {
node => get_standard_option('pve-node'),
storage => get_standard_option('pve-storage-id', {
@ -204,7 +204,7 @@ __PACKAGE__->register_method ({
check => ['perm', '/storage/{storage}', ['Datastore.Audit', 'Datastore.AllocateSpace'], any => 1],
},
parameters => {
additionalProperties => 0,
additionalProperties => 0,
properties => {
node => get_standard_option('pve-node'),
storage => get_standard_option('pve-storage-id'),
@ -248,7 +248,7 @@ __PACKAGE__->register_method ({
protected => 1,
proxyto => 'node',
parameters => {
additionalProperties => 0,
additionalProperties => 0,
properties => {
node => get_standard_option('pve-node'),
storage => get_standard_option('pve-storage-id'),
@ -284,7 +284,7 @@ __PACKAGE__->register_method ({
protected => 1,
proxyto => 'node',
parameters => {
additionalProperties => 0,
additionalProperties => 0,
properties => {
node => get_standard_option('pve-node'),
storage => get_standard_option('pve-storage-id'),
@ -295,11 +295,11 @@ __PACKAGE__->register_method ({
},
ds => {
description => "The list of datasources you want to display.",
type => 'string', format => 'pve-configid-list',
type => 'string', format => 'pve-configid-list',
},
cf => {
description => "The RRD consolidation function",
type => 'string',
type => 'string',
enum => [ 'AVERAGE', 'MAX' ],
optional => 1,
},
@ -330,7 +330,7 @@ __PACKAGE__->register_method ({
protected => 1,
proxyto => 'node',
parameters => {
additionalProperties => 0,
additionalProperties => 0,
properties => {
node => get_standard_option('pve-node'),
storage => get_standard_option('pve-storage-id'),
@ -341,7 +341,7 @@ __PACKAGE__->register_method ({
},
cf => {
description => "The RRD consolidation function",
type => 'string',
type => 'string',
enum => [ 'AVERAGE', 'MAX' ],
optional => 1,
},
@ -374,7 +374,7 @@ __PACKAGE__->register_method ({
},
protected => 1,
parameters => {
additionalProperties => 0,
additionalProperties => 0,
properties => {
node => get_standard_option('pve-node'),
storage => get_standard_option('pve-storage-id'),