1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Fix deprecated call to resources

As the deprecation warning suggests:

> Calling OpenStack[:orchestration].list_resources(stack, options) is
> deprecated, call .list_resources(:stack => stack) or
> .list_resources(:stack_name => value, :stack_id => value) instead
This commit is contained in:
Greg Blomquist 2015-08-27 18:24:56 -04:00
parent 592758492d
commit 2e4ec4770c

View file

@ -45,7 +45,7 @@ module Fog
end
def resources(options={})
@resources ||= service.resources.all(self, options)
@resources ||= service.resources.all({:stack => self}.merge(options))
end
def events(options={})