mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #3616 from Ladas/openstack_security_groups_list_elseif_typo
Openstack security groups list typo
This commit is contained in:
commit
771edbbf85
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module Fog
|
|||
if options.is_a?(Hash)
|
||||
server_id = options.delete(:server_id)
|
||||
query = options
|
||||
elsif
|
||||
else
|
||||
# Backwards compatibility layer, only server_id was passed as first parameter previously
|
||||
Fog::Logger.deprecation('Calling OpenStack[:compute].list_security_groups(server_id) is deprecated, use .list_security_groups(:server_id => value) instead')
|
||||
server_id = options
|
||||
|
|
Loading…
Add table
Reference in a new issue