From eb511b5d48433fae04a98b1cb2914795e28dc711 Mon Sep 17 00:00:00 2001 From: Joe Handzik Date: Mon, 1 Aug 2016 13:24:22 -0500 Subject: [PATCH] hpsa: Update cacheless variable There was a mistake here that I ran into on an H240 Smart Array card in RAID mode. I used the wrong naming scheme, missed it because my hardware was not available until recently. Signed-off-by: Joe Handzik --- plugin/hpsa/hpsa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/hpsa/hpsa.py b/plugin/hpsa/hpsa.py index f565223ee..6a8f87d4b 100644 --- a/plugin/hpsa/hpsa.py +++ b/plugin/hpsa/hpsa.py @@ -469,7 +469,7 @@ def systems(self, flags=0): else: # Some Smart Arrays don't have cache # This entry is also missing until a volume uses cache - read_cache_pct = System.CACHE_PCT_UNKNOWN + read_cache_pct = System.READ_CACHE_PCT_UNKNOWN if 'Controller Mode' in ctrl_data: hwraid_mode = ctrl_data['Controller Mode'] if hwraid_mode == 'RAID':