Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f1785977
Commit
f1785977
authored
Jun 12, 2009
by
Leigh B. Stoller
Browse files
Skip subnode stuff when the node is a sharedhost.
parent
80b4858c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ptopgen.in
View file @
f1785977
...
...
@@ -742,7 +742,8 @@ foreach $node (keys(%nodes)) {
if
(
$subnode_of
{
$node
})
{
# We don't want to include subnodes unless their parent node is going
# to be in the ptop file too
if
(
!
$nodes
{
$subnode_of
{
$node
}})
{
if
(
!
$nodes
{
$subnode_of
{
$node
}}
||
$sharing_mode
{
$subnode_of
{
$node
}})
{
# In fact, nuke it from %nodes so that we don't include its links,
# either
delete
$nodes
{
$node
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment