]> git.proxmox.com Git - pve-storage.git/commitdiff
fix content listing for user mode iscsi plugin
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 7 Mar 2019 09:49:03 +0000 (10:49 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Mar 2019 10:08:43 +0000 (11:08 +0100)
the format is a required in the result schema

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Storage/ISCSIDirectPlugin.pm

index 67bb40ca523de4b3438d77bd38fa4fda20177c40..9777969b39e02ee03c44aca84da332b8bb56a316 100644 (file)
@@ -36,6 +36,7 @@ sub iscsi_ls {
                    $list->{$storeid}->{$image} = {
                        name => $image,
                        size => $size * $unittobytes{$unit},
+                       format => 'raw',
                    };
                }
            });