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

Fix Mock#update_server arguments

This commit is contained in:
Mike Moore 2013-02-28 18:35:24 -07:00
parent 41914afe08
commit 692740d093

View file

@ -16,7 +16,7 @@ module Fog
class Mock
def update_server(server_id, options)
def update_server(server_id, options = {})
response = Excon::Response.new
if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
if options['name']