Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
---
 src/PVE/StorageTunnel.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/PVE/StorageTunnel.pm b/src/PVE/StorageTunnel.pm
index c880889..c0cc0ae 100644
--- a/src/PVE/StorageTunnel.pm
+++ b/src/PVE/StorageTunnel.pm
@@ -7,7 +7,9 @@ use IO::Socket::UNIX;
 use POSIX qw(WNOHANG);
 use Socket qw(SOCK_STREAM);
 
+use PVE::JSONSchema;
 use PVE::Storage;
+use PVE::Storage::Common; # for pve-storage-image-format standard option
 use PVE::Tools;
 use PVE::Tunnel;
 
@@ -153,11 +155,9 @@ our $cmd_schema = {
            type => 'string',
            description => 'volume name to use as preferred target volume name',
        },
-       format => {
-           type => 'string',
-           format => 'pve-storage-format',
+       format => 
PVE::JSONSchema::get_standard_option('pve-storage-image-format', {
            description => 'preferred format for the target volume',
-       },
+       }),
        export_formats => {
            type => 'string',
            description => 'list of supported export formats',
-- 
2.39.5



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

Reply via email to