[pve-devel] [PATCH storage 1/2] fix content listing for user mode iscsi plugin

Dominik Csapak d.csapak at proxmox.com
Thu Mar 7 10:49:03 CET 2019


the format is a required in the result schema

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/Storage/ISCSIDirectPlugin.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm
index 67bb40c..9777969 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -36,6 +36,7 @@ sub iscsi_ls {
 	            $list->{$storeid}->{$image} = {
 	                name => $image,
 	                size => $size * $unittobytes{$unit},
+			format => 'raw',
 	            };
 	        }
 	    });
-- 
2.11.0




More information about the pve-devel mailing list