lib/fog/compute/openstack/requests/evacuate_server.rb in fog-openstack-0.1.29 vs lib/fog/compute/openstack/requests/evacuate_server.rb in fog-openstack-0.1.30
- old
+ new
@@ -4,10 +4,10 @@
class Real
def evacuate_server(server_id, host = nil, on_shared_storage = nil, admin_password = nil)
evacuate = {}
evacuate['host'] = host if host
- if !microversion_newwer_than('2.13') && on_shared_storage
+ if !microversion_newer_than('2.13') && on_shared_storage
evacuate['onSharedStorage'] = on_shared_storage
end
evacuate['adminPass'] = admin_password if admin_password
body = {