ACK - test output copied in DTACLOUD-454
----- Original Message ----- > From: mar...@redhat.com > To: dev@deltacloud.apache.org > Sent: Tuesday, February 5, 2013 11:35:35 AM > Subject: [PATCH] Deltacloud - fix bug in to_hash (json) for storage_volumes - > DTACLOUD-454 > > From: marios <mar...@redhat.com> > > https://issues.apache.org/jira/browse/DTACLOUD-454 > > Signed-off-by: marios <mar...@redhat.com> > --- > server/lib/deltacloud/models/storage_volume.rb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/lib/deltacloud/models/storage_volume.rb > b/server/lib/deltacloud/models/storage_volume.rb > index 1ec76d6..4132592 100644 > --- a/server/lib/deltacloud/models/storage_volume.rb > +++ b/server/lib/deltacloud/models/storage_volume.rb > @@ -42,7 +42,7 @@ class StorageVolume < BaseModel > :capacity => capacity, > } > r[:actions] = (actions || []).map { |a| > - { :href => context.send("#{a}_storage_volume", self.id), :rel > => a } > + { :href => context.send("#{a}_storage_volume_url", self.id), > :rel => a } > } > if instance_id > r[:instance] = { :id => instance_id, :href => > context.instance_url(instance_id), :rel => :instance } > -- > 1.7.11.7 > >