summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-admin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-01-18 16:22:14 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-01-18 16:22:14 +0000
commita7b55d920c10c755f5e5a6c1ae7137704b999a37 (patch)
treed2c7f4e01aae391ee769a1c73ced188dc72885d5 /src/sbin/bcfg2-admin
parentc9e6a51dccaf901982696543aab5041581fab436 (diff)
downloadbcfg2-a7b55d920c10c755f5e5a6c1ae7137704b999a37.tar.gz
bcfg2-a7b55d920c10c755f5e5a6c1ae7137704b999a37.tar.bz2
bcfg2-a7b55d920c10c755f5e5a6c1ae7137704b999a37.zip
Fix bcfg-admin viz -k
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2693 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-admin')
-rwxr-xr-xsrc/sbin/bcfg2-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index d100b936c..c7ae8e1f9 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -336,7 +336,7 @@ def do_viz(args):
gseen.append(parent.get("name"))
dotpipe.tochild.write('\t"group-%s" -> "group-%s" ;\n' %
(group.get('name'), parent.get('name')))
- if '-k' not in args:
+ if '-k' in args:
dotpipe.tochild.write("\tsubgraph cluster_key {\n")
dotpipe.tochild.write('''\tstyle="filled";\n''')
dotpipe.tochild.write('''\tcolor="lightblue";\n''')