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

git commit: Deltacloud - fix typo in metrics model

Updated Branches:
  refs/heads/master 534d92904 -> a56f1009a


Deltacloud - fix typo in metrics model


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

Branch: refs/heads/master
Commit: a56f1009ac1947adc064ce0e39df323b365ebb94
Parents: 534d929
Author: Ronelle Landy <rl...@redhat.com>
Authored: Tue Feb 26 12:18:33 2013 -0500
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Feb 26 18:24:07 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/a56f1009/server/lib/deltacloud/models/metric.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/models/metric.rb b/server/lib/deltacloud/models/metric.rb
index 1f7f422..6f5cac6 100644
--- a/server/lib/deltacloud/models/metric.rb
+++ b/server/lib/deltacloud/models/metric.rb
@@ -44,7 +44,7 @@ class Metric < BaseModel
   def to_hash(context)
     {
       :id => self.id,
-      :href => context.matric_url(self.id),
+      :href => context.metric_url(self.id),
       :entity => entity,
       :properties => properties.map { |p| p.to_hash(context) }
     }