deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Deltacloud - fix typo in metrics model
Date Tue, 26 Feb 2013 17:24:30 GMT
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 <rlandy@redhat.com>
Authored: Tue Feb 26 12:18:33 2013 -0500
Committer: Michal fojtik <mfojtik@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) }
     }


Mime
View raw message