[pve-devel] [PATCH manager 1/3] pvesubscription: add missing return statement

Alexander Zeidler a.zeidler at proxmox.com
Tue Jan 9 15:23:54 CET 2024


Signed-off-by: Alexander Zeidler <a.zeidler at proxmox.com>
---
 PVE/CLI/pvesubscription.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/CLI/pvesubscription.pm b/PVE/CLI/pvesubscription.pm
index 2eb26cb4..2fd641d0 100755
--- a/PVE/CLI/pvesubscription.pm
+++ b/PVE/CLI/pvesubscription.pm
@@ -47,6 +47,8 @@ __PACKAGE__->register_method({
 	PVE::API2::Subscription::check_key($info->{key}, PVE::API2::Subscription::get_sockets());
 
 	PVE::API2::Subscription::write_etc_subscription($info);
+
+	return undef;
 }});
 
 our $cmddef = {
-- 
2.39.2





More information about the pve-devel mailing list