Commit 9a8a2290 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Bugfix: Return nickname as the resource_id for GeniAggregates.

GeniAggregates can apparently be used in place of GeniSlivers in some contexts. This bug fix makes them more compatible.
parent 9046115f
......@@ -225,6 +225,7 @@ sub field($$) { return ((! ref($_[0])) ? -1 : $_[0]->{'AGGREGATE'}->{$_[1]}); }
sub idx($) { return field($_[0], "idx"); }
sub uuid($) { return field($_[0], "uuid"); }
sub nickname($) { return field($_[0], "nickname"); }
sub resource_id($) { return $_[0]->nickname(); }
sub type($) { return field($_[0], "type"); }
sub slice_uuid($) { return field($_[0], "slice_uuid"); }
sub creator_uuid($) { return field($_[0], "creator_uuid"); }
......
......@@ -980,7 +980,7 @@ sub SliverStatus($)
}
my $sliver_urn = $sliver->sliver_urn();
my $resource_id = $sliver->resource_id();
my $resource_id = $sliver->resource_id();
my $state = $sliver->state();
my $status = $sliver->status();
my $error = "";
......
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