Permalink
Browse files

Reset role_prefix when it should be excluded

  • Loading branch information...
tobami committed Apr 26, 2012
1 parent f4be69f commit a648513991a41cede65181fc37ef4e4261838be2
Showing with 1 addition and 0 deletions.
  1. +1 −0 kitchen/dashboard/graphs.py
@@ -74,6 +74,7 @@ def generate_node_map(nodes, roles):
try:
role_prefix = node['role'][0].split("_")[0]
if role_prefix == REPO['EXCLUDE_ROLE_PREFIX']:
+ role_prefix = None
role_prefix = node['role'][1].split("_")[0]
if role_prefix == REPO['EXCLUDE_ROLE_PREFIX']:
role_prefix = None

0 comments on commit a648513

Please sign in to comment.