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] added Template subcollections to SystemTemplate
Date Wed, 03 Apr 2013 08:31:12 GMT
On 04/02/2013 02:26 AM, David Lutterkort wrote:

> This seems to be a Rabbit problem with the names of the subcollections;
> somehow URL helpers for the subcollections do not get generated
> correctly. Michal ?

Sry, I overlooked this one :)

I checked the patch and seems you are trying to use 'system_volume_url' 
helper in driver (not in Sinatra context).

To use this method, you will need to pass 'context' parameter and then 
call the helper using:

context.system_volume_url(system_id, volume_id)

(check David patch for example :-)

  -- Michal

>
> BTW, attached is a patch that addresses a few URL conversion problems I
> found in the mock driver; feel free to commit if it doesn't make things
> worse ;)
>
> David
>


-- 

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

Mime
View raw message