From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 0B4CD9BA5 for ; Fri, 4 Aug 2023 13:49:58 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E867FE4D1 for ; Fri, 4 Aug 2023 13:49:57 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 4 Aug 2023 13:49:57 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 1AA8D40BE1 for ; Fri, 4 Aug 2023 13:49:57 +0200 (CEST) Date: Fri, 04 Aug 2023 13:49:50 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox VE development discussion References: <20230801144604.760331-1-p.hufnagl@proxmox.com> <20230801144604.760331-7-p.hufnagl@proxmox.com> In-Reply-To: <20230801144604.760331-7-p.hufnagl@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1691149784.rke29aoop1.astroid@yuna.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.068 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] applied: [PATCH manager v4 2/2] fix whitespaces X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2023 11:49:58 -0000 On August 1, 2023 4:46 pm, Philipp Hufnagl wrote: > Signed-off-by: Philipp Hufnagl > --- > PVE/API2/Nodes.pm | 16 ++++++++-------- > www/manager6/window/DownloadUrlToStorage.js | 4 ++-- > 2 files changed, 10 insertions(+), 10 deletions(-) >=20 > diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm > index 2bae4e6f..6fa138fb 100644 > --- a/PVE/API2/Nodes.pm > +++ b/PVE/API2/Nodes.pm > @@ -496,7 +496,7 @@ __PACKAGE__->register_method({ > # just parse the json again, it should already be validated > my $commands =3D eval { decode_json($param->{commands}); }; > =20 > - foreach my $cmd (@$commands) { > + foreach my $cmd (@$commands) { > eval { > $cmd->{args} //=3D {}; > =20 > @@ -654,11 +654,11 @@ __PACKAGE__->register_method({ > }, > ds =3D> { > description =3D> "The list of datasources you want to display.", > - type =3D> 'string', format =3D> 'pve-configid-list', > + type =3D> 'string', format =3D> 'pve-configid-list', > }, > cf =3D> { > description =3D> "The RRD consolidation function", > - type =3D> 'string', > + type =3D> 'string', > enum =3D> [ 'AVERAGE', 'MAX' ], > optional =3D> 1, > }, > @@ -699,7 +699,7 @@ __PACKAGE__->register_method({ > }, > cf =3D> { > description =3D> "The RRD consolidation function", > - type =3D> 'string', > + type =3D> 'string', > enum =3D> [ 'AVERAGE', 'MAX' ], > optional =3D> 1, > }, > @@ -1368,7 +1368,7 @@ __PACKAGE__->register_method({ > description =3D> "Read server time and time zone settings.", > proxyto =3D> 'node', > parameters =3D> { > - additionalProperties =3D> 0, > + additionalProperties =3D> 0, > properties =3D> { > node =3D> get_standard_option('pve-node'), > }, > @@ -1393,7 +1393,7 @@ __PACKAGE__->register_method({ > minimum =3D> 1297163644, > renderer =3D> 'timestamp_gmt', > }, > - }, > + }, > }, > code =3D> sub { > my ($param) =3D @_; > @@ -2105,14 +2105,14 @@ __PACKAGE__->register_method ({ > additionalProperties =3D> 0, > properties =3D> { > node =3D> get_standard_option('pve-node'), > - target =3D> get_standard_option('pve-node', { description = =3D> "Target node." }), > + target =3D> get_standard_option('pve-node', { description =3D> "Tar= get node." }), > maxworkers =3D> { > description =3D> "Maximal number of parallel migration job. If not set= , uses" > ."'max_workers' from datacenter.cfg. One of both must be set!", > optional =3D> 1, > type =3D> 'integer', > minimum =3D> 1 > - }, > + }, > vms =3D> { > description =3D> "Only consider Guests with these IDs.", > type =3D> 'string', format =3D> 'pve-vmid-list', > diff --git a/www/manager6/window/DownloadUrlToStorage.js b/www/manager6/w= indow/DownloadUrlToStorage.js > index 7a472ce9..559a1c05 100644 > --- a/www/manager6/window/DownloadUrlToStorage.js > +++ b/www/manager6/window/DownloadUrlToStorage.js > @@ -220,7 +220,7 @@ Ext.define('PVE.window.DownloadUrlToStorage', { > ], > =20 > initComponent: function() { > - var me =3D this; > + var me =3D this; > =20 > if (!me.nodename) { > throw "no node name specified"; > @@ -241,7 +241,7 @@ Ext.define('PVE.window.DownloadUrlToStorage', { > }); > } > =20 > - me.callParent(); > + me.callParent(); > }, > }); > =20 > --=20 > 2.39.2 >=20 >=20 >=20 > _______________________________________________ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel >=20 >=20 >=20