fix: correct package name and API version for PVE 8.4.x
Package must match filename (TrueNAS.pm → PVE::Storage::Custom::TrueNAS) so PVE's module loader finds the class when checking ISA PVE::Storage::Plugin. api() returns 11 to match APIVER in PVE::Storage on PVE 8.4.x. Returning 10 loaded successfully but triggered a deprecation warning. Verified: pvedaemon loads plugin cleanly with no errors or warnings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
432be1ba5c
commit
f6ca0c9ef5
|
|
@ -1,4 +1,4 @@
|
|||
package PVE::Storage::Custom::TrueNASPlugin;
|
||||
package PVE::Storage::Custom::TrueNAS;
|
||||
|
||||
# TrueNAS Custom Storage Plugin for Proxmox VE
|
||||
#
|
||||
|
|
@ -28,7 +28,7 @@ my $state = {};
|
|||
|
||||
# ── Plugin identity ───────────────────────────────────────────────────────────
|
||||
|
||||
sub api { return 10; }
|
||||
sub api { return 11; }
|
||||
sub type { return 'truenas'; }
|
||||
|
||||
sub plugindata {
|
||||
|
|
|
|||
Loading…
Reference in New Issue