public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH common] file: add missing use statement
@ 2025-11-05 11:40 Friedrich Weber
  2025-11-05 12:03 ` Gabriel Goller
  2025-11-05 12:13 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Friedrich Weber @ 2025-11-05 11:40 UTC (permalink / raw)
  To: pve-devel

This fixes an "create storage failed: Undefined subroutine
&PVE::File::encode called" error when creating a PBS storage.

Fixes: 4b53440 ("create dedicated PVE::File module")
Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
---
 src/PVE/File.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/File.pm b/src/PVE/File.pm
index 53af963..444e7ff 100644
--- a/src/PVE/File.pm
+++ b/src/PVE/File.pm
@@ -2,6 +2,7 @@ package PVE::File;
 
 use v5.36;
 
+use Encode qw(encode);
 use Fcntl qw(SEEK_SET SEEK_END);
 use File::Basename qw(dirname);
 use File::Path qw(make_path);
-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-05 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-05 11:40 [pve-devel] [PATCH common] file: add missing use statement Friedrich Weber
2025-11-05 12:03 ` Gabriel Goller
2025-11-05 12:13 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal