[pve-devel] [PATCH v3 storage 4/4] disks: fix typo

Fabian Gr├╝nbichler f.gruenbichler at proxmox.com
Wed Sep 28 13:42:25 CEST 2016


---
 PVE/API2/Disks.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Disks.pm b/PVE/API2/Disks.pm
index d7030f8..3be6873 100644
--- a/PVE/API2/Disks.pm
+++ b/PVE/API2/Disks.pm
@@ -138,7 +138,7 @@ __PACKAGE__->register_method ({
 	    $result = PVE::Diskmanage::get_smart_data($disk);
 	}
 
-	$result->{health} = 'UNKOWN' if !defined $result->{health};
+	$result->{health} = 'UNKNOWN' if !defined $result->{health};
 
 	return $result;
     }});
-- 
2.1.4




More information about the pve-devel mailing list