From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH common 1/3] json schema: reorder imports to our style guide
Date: Thu, 8 Oct 2026 15:48:11 +0200 [thread overview]
Message-ID: <20261008135224.3323985-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20261008135224.3323985-1-d.csapak@proxmox.com>
external and PVE modules separately, sorted alphabetically.
While at it, drop the unused Data::Dumper import.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/PVE/JSONSchema.pm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
index 34f2949..db2c167 100644
--- a/src/PVE/JSONSchema.pm
+++ b/src/PVE/JSONSchema.pm
@@ -4,17 +4,17 @@ use strict;
use warnings;
use feature 'signatures';
-use Storable; # for dclone
-use Getopt::Long;
+use Devel::Cycle -quiet; # todo: remove?
use Encode::Locale;
use Encode;
-use Devel::Cycle -quiet; # todo: remove?
-use PVE::ParseUtils qw(split_list $IPV6RE $IPV4RE);
-use PVE::Exception qw(raise);
+use Getopt::Long;
use HTTP::Status qw(:constants);
use JSON;
use Net::IP qw(:PROC);
-use Data::Dumper;
+use Storable; # for dclone
+
+use PVE::Exception qw(raise);
+use PVE::ParseUtils qw(split_list $IPV6RE $IPV4RE);
use base 'Exporter';
--
2.47.3
next prev parent reply other threads:[~2026-10-08 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 13:48 [PATCH common 0/3] fix #7612 Dominik Csapak
2026-10-08 13:48 ` Dominik Csapak [this message]
2026-10-08 13:48 ` [PATCH common 2/3] json schema: add tests for numeric behavior Dominik Csapak
2026-10-08 13:48 ` [PATCH common 3/3] fix #7612: json schema: don't allow integers that are too large Dominik Csapak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261008135224.3323985-2-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox