From 4ca230cff6b3c4cebbc57d9046ed88730853e548 Mon Sep 17 00:00:00 2001 From: Ladislav Smola Date: Wed, 1 Jul 2015 17:50:23 +0200 Subject: [PATCH] Openstack security groups list typo Openstack security groups list typo with elseif --- lib/fog/openstack/requests/compute/list_security_groups.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/openstack/requests/compute/list_security_groups.rb b/lib/fog/openstack/requests/compute/list_security_groups.rb index 54ba25a99..5c740f473 100644 --- a/lib/fog/openstack/requests/compute/list_security_groups.rb +++ b/lib/fog/openstack/requests/compute/list_security_groups.rb @@ -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