Skip to content

Commit

Permalink
Don't add non-existing clusters to the list of found clusters.
Browse files Browse the repository at this point in the history
  • Loading branch information
edelmann committed Apr 10, 2014
1 parent c01109c commit 582f2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/ProdCommon/BossLite/Scheduler/SchedulerARC.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def getClusters(self):
elif not c["cluster"] and line.find("Name:") >= 0:
c["cluster"] = line.split(': ')[1]

clusters.append(c)
if c["cluster"]: clusters.append(c)
return clusters


Expand Down

0 comments on commit 582f2ff

Please sign in to comment.