From: Friedrich Weber <f.weber@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH common] file: add missing use statement
Date: Wed, 5 Nov 2025 12:40:47 +0100 [thread overview]
Message-ID: <20251105114117.40273-1-f.weber@proxmox.com> (raw)
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
next reply other threads:[~2025-11-05 11:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 11:40 Friedrich Weber [this message]
2025-11-05 12:03 ` Gabriel Goller
2025-11-05 12:13 ` [pve-devel] applied: " Thomas Lamprecht
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=20251105114117.40273-1-f.weber@proxmox.com \
--to=f.weber@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