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:
parent
41914afe08
commit
692740d093
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue