mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix new method to accept params
This commit is contained in:
parent
98f241b12e
commit
8960124ce4
1 changed files with 3 additions and 3 deletions
|
@ -34,11 +34,11 @@ module Fog
|
|||
nil
|
||||
end
|
||||
|
||||
def new
|
||||
Fog::Rackspace::Servers::Server.new(
|
||||
def new(attributes = {})
|
||||
Fog::Rackspace::Servers::Server.new({
|
||||
:connection => connection,
|
||||
:servers => self
|
||||
)
|
||||
}.merge!(attributes))
|
||||
end
|
||||
|
||||
def reload
|
||||
|
|
Loading…
Add table
Reference in a new issue