* Replace incorrect constant 'Pool.RAID_TYPE_UNKNOWN' with
   'Volume.RAID_TYPE_UNKNOWN'.

Signed-off-by: Gris Ge <f...@redhat.com>
---
 plugin/ontap/ontap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/ontap/ontap.py b/plugin/ontap/ontap.py
index 6cf8cd5..5e50a44 100644
--- a/plugin/ontap/ontap.py
+++ b/plugin/ontap/ontap.py
@@ -1294,7 +1294,7 @@ class Ontap(IStorageAreaNetwork, INfs):
             return Volume.RAID_TYPE_RAID4
         elif 'raid_dp' in na_raid_statuses:
             return Volume.RAID_TYPE_RAID6
-        return Pool.RAID_TYPE_UNKNOWN
+        return Volume.RAID_TYPE_UNKNOWN
 
     @handle_ontap_errors
     def volume_raid_info(self, volume, flags=0):
-- 
1.8.3.1


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libstoragemgmt-devel mailing list
Libstoragemgmt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libstoragemgmt-devel

Reply via email to