From 7ecab87144c584742656a953234dd2d00a1a2b0a Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 10 Jul 2025 15:27:18 +0200 Subject: [PATCH] re-tidy perl source code with correct perltidy version Signed-off-by: Thomas Lamprecht --- src/PVE/API2/Storage/Status.pm | 6 ++++-- src/PVE/Storage/RBDPlugin.pm | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/PVE/API2/Storage/Status.pm b/src/PVE/API2/Storage/Status.pm index f7c3519..c172073 100644 --- a/src/PVE/API2/Storage/Status.pm +++ b/src/PVE/API2/Storage/Status.pm @@ -365,8 +365,10 @@ __PACKAGE__->register_method({ code => sub { my ($param) = @_; - return PVE::RRD::create_rrd_graph("pve2-storage/$param->{node}/$param->{storage}", - $param->{timeframe}, $param->{ds}, $param->{cf}); + return PVE::RRD::create_rrd_graph( + "pve2-storage/$param->{node}/$param->{storage}", + $param->{timeframe}, $param->{ds}, $param->{cf}, + ); }, }); diff --git a/src/PVE/Storage/RBDPlugin.pm b/src/PVE/Storage/RBDPlugin.pm index 31cbf8f..ce7db50 100644 --- a/src/PVE/Storage/RBDPlugin.pm +++ b/src/PVE/Storage/RBDPlugin.pm @@ -617,7 +617,9 @@ sub create_base { my $newvolname = $basename ? "$basename/$newname" : "$newname"; my $cmd = $rbd_cmd->( - $scfg, $storeid, 'rename', + $scfg, + $storeid, + 'rename', get_rbd_path($scfg, $name), get_rbd_path($scfg, $newname), );