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:
parent
592758492d
commit
2e4ec4770c
1 changed files with 1 additions and 1 deletions
|
@ -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={})
|
||||
|
|
Loading…
Reference in a new issue