FIX: Added a check in UIClusterShow to prevent segfaults. Also stopped showing GLOBAL node.
Organization: Tom Rudwick Contact: tomr@intrinsity.com git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@98 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
parent
1fed3bb736
commit
479cb2138a
@ -4083,12 +4083,12 @@ int UIClusterShow(
|
||||
{
|
||||
F = &MFrame[findex];
|
||||
|
||||
if ((F == NULL) || (F->Name[0] == '\0') || (F->NodeCount <= 0))
|
||||
continue;
|
||||
|
||||
DBG(5,fUI) DPrint("INFO: collecting status for frame %s\n",
|
||||
F->Name);
|
||||
|
||||
if (F->NodeCount <= 0)
|
||||
continue;
|
||||
|
||||
switch(DisplayMode)
|
||||
{
|
||||
case mwpXML:
|
||||
@ -4132,6 +4132,11 @@ int UIClusterShow(
|
||||
if (N->Name[0] == '\1')
|
||||
continue;
|
||||
|
||||
if (!strcmp(N->Name,"GLOBAL"))
|
||||
continue;
|
||||
|
||||
DBG(5,fUI) DPrint("INFO: checking node %s\n", N->Name);
|
||||
|
||||
/* display failure information */
|
||||
|
||||
if ((N->CRes.Disk > 0) && (N->ARes.Disk <= 0))
|
||||
|
Loading…
Reference in New Issue
Block a user