deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: [PATCH core 3/5] CIMI: Added MachineImage model
Date Wed, 16 Nov 2011 17:44:53 GMT
On Mon, 2011-11-14 at 16:09 +0100, mfojtik@redhat.com wrote:
> diff --git a/server/lib/cimi/model/machine_image.rb b/server/lib/cimi/model/machine_image.rb
> new file mode 100644
> index 0000000..dd3c960
> --- /dev/null
> +++ b/server/lib/cimi/model/machine_image.rb
> @@ -0,0 +1,23 @@

> +class CIMI::Model::MachineImage < CIMI::Model::Base
> +
> +  scalar :image_location

This should be 'href', not 'scalar'. 'href' is syntactic sugar for
  struct :image_location do
    scalar :href
  end

David



Mime
View raw message