Skip to content

Conversation

@fcheung
Copy link
Contributor

@fcheung fcheung commented Jan 20, 2015

The AutoScaling#Group.activities method was doing something very strange - loading the collection rather than letting it load itself.

The activities model itself was also doing something very strange since it was assuming that all the arguments passed to it were filters, whereas we need to pass in the service (and since filters are dumped straight into the request parameters this caused an exception in the request signing code).

I'm not super familiar with the Fog::Collection stuff, but I think this is closer to what it should do (and does actually work).

@geemus
Copy link
Member

geemus commented Jan 26, 2015

Yeah that does look weird before and better now. Thanks!

geemus added a commit that referenced this pull request Jan 26, 2015
fix autoscaling activities collection setup
@geemus geemus merged commit 015ca6c into fog:master Jan 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants