Commit 3581804c authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent daecdfb0
...@@ -3685,7 +3685,7 @@ sub ReadRspecSolution($$) ...@@ -3685,7 +3685,7 @@ sub ReadRspecSolution($$)
$self->printdb("Processing rspec\n"); $self->printdb("Processing rspec\n");
$self->printdb("Nodes:\n"); $self->printdb("Nodes:\n");
foreach my $ref (@{ $self->rspec()->{'node'} }) { foreach my $ref (@{ $rspec->{'node'} }) {
my $node_urn = $ref->{'component_urn'} || $ref->{'component_uuid'}; my $node_urn = $ref->{'component_urn'} || $ref->{'component_uuid'};
my $virtual = $ref->{'virtual_id'}; my $virtual = $ref->{'virtual_id'};
...@@ -3714,7 +3714,7 @@ sub ReadRspecSolution($$) ...@@ -3714,7 +3714,7 @@ sub ReadRspecSolution($$)
} }
} }
$self->printdb("Links:\n"); $self->printdb("Links:\n");
foreach my $ref (@{ $self->rspec()->{'link'} }) { foreach my $ref (@{ $rspec->{'link'} }) {
my $virtual_id = $ref->{"virtual_id"}; my $virtual_id = $ref->{"virtual_id"};
my $virtlan = $self->vlans()->{$virtual_id}; my $virtlan = $self->vlans()->{$virtual_id};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment