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
3803034d
Commit
3803034d
authored
Jul 13, 2011
by
Leigh B Stoller
Browse files
Minor fix for bug caused by the addition of links to sliverstatus.
parent
0d37e7fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniAM.pm.in
View file @
3803034d
...
...
@@ -485,8 +485,6 @@ sub SliverStatus()
my $details = $pgstatus->{'
details
'};
my @children = ();
while ( my ($pgurn, $pgrstat) = each(%$details) ) {
# Look up the sliver so we can extract info from the manifest.
my $sliver = GeniSliver->Lookup($pgurn);
my $child = {
'
geni_urn
' => $pgurn,
# XXX Need to massage status to one of the AM status values
...
...
@@ -494,6 +492,14 @@ sub SliverStatus()
'
geni_error
' => $pgrstat->{'
error
'},
'
pg_status
' => $pgrstat->{'
status
'},
};
# Look up the sliver so we can extract info from the manifest.
my $sliver = GeniSliver->Lookup($pgurn);
if (!defined($sliver)) {
$sliver = GeniAggregate->Lookup($pgurn);
}
# Signal an error?
next
if (!defined($sliver));
# Put manifest info in...
my $manifest = $sliver->GetManifest(0);
...
...
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