From 89a7eb0982f0d1098b92eb9c25d185c4374d9d62 Mon Sep 17 00:00:00 2001 From: "Vincent S. Cojot" Date: Wed, 11 Jan 2017 12:04:55 -0500 Subject: [PATCH] Minor bugfix to get NestedLDTable properly laid out.. --- wrapper-scripts/megaclisas-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapper-scripts/megaclisas-status b/wrapper-scripts/megaclisas-status index 3495502..b958874 100755 --- a/wrapper-scripts/megaclisas-status +++ b/wrapper-scripts/megaclisas-status @@ -33,7 +33,7 @@ totaldrivenumber = 0 MaxNumHBA = 16 MaxNumLD = 128 LDTable = [ [] * MaxNumHBA for i in range(MaxNumLD) ] -NestedLDTable = [[False for i in range(MaxNumHBA)] for j in range(MaxNumLD)] +NestedLDTable = [[False for i in range(MaxNumLD)] for j in range(MaxNumHBA)] # Outputs is a 'dict' of all MegaCLI outputs so we can re-use them during loops.. Outputs = {}