You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by ma...@apache.org on 2013/02/06 16:18:48 UTC

git commit: Deltacloud - fix bug in to_hash (json) for storage_volumes - DTACLOUD-454

Updated Branches:
  refs/heads/master 4275a2a52 -> 227a4eba4


Deltacloud - fix bug in to_hash (json) for storage_volumes - DTACLOUD-454

https://issues.apache.org/jira/browse/DTACLOUD-454


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/227a4eba
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/227a4eba
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/227a4eba

Branch: refs/heads/master
Commit: 227a4eba479f9e7bfead6c16ebdd44fd029a5b7b
Parents: 4275a2a
Author: marios <ma...@redhat.com>
Authored: Tue Feb 5 12:01:10 2013 +0200
Committer: marios <ma...@redhat.com>
Committed: Wed Feb 6 17:18:30 2013 +0200

----------------------------------------------------------------------
 server/lib/deltacloud/models/storage_volume.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/227a4eba/server/lib/deltacloud/models/storage_volume.rb
----------------------------------------------------------------------
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 }