[pve-devel] [PATCH storage] Fix: api zfs: changed return value name to errors

Tim Marx t.marx at proxmox.com
Thu Oct 25 12:51:08 CEST 2018


Signed-off-by: Tim Marx <t.marx at proxmox.com>
---
 PVE/API2/Disks/ZFS.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Disks/ZFS.pm b/PVE/API2/Disks/ZFS.pm
index 371cc5a..58a498d 100644
--- a/PVE/API2/Disks/ZFS.pm
+++ b/PVE/API2/Disks/ZFS.pm
@@ -165,7 +165,7 @@ __PACKAGE__->register_method ({
 		type => 'string',
 		description => 'Information about the last/current scrub.',
 	    },
-	    scan => {
+	    errors => {
 		type => 'string',
 		description => 'Information about the errors on the zpool.',
 	    },
-- 
2.11.0




More information about the pve-devel mailing list