deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: [PATCH] Deltacloud - fix typo in metrics model
Date Tue, 26 Feb 2013 17:21:35 GMT
On 02/26, rlandy@redhat.com wrote:

ACK, nice catch!

  -- Michal

> From: Ronelle Landy <rlandy@redhat.com>
> 
> ---
>  server/lib/deltacloud/models/metric.rb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 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) }
>      }
> -- 
> 1.7.7.6
> 

-- 
Michal Fojtik <mfojtik@redhat.com>
Deltacloud API, CloudForms

Mime
View raw message