mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Public key results are cached, avoid a bug by using that cache
This commit is contained in:
parent
b0814e760f
commit
295b5300e5
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ module Fog
|
|||
|
||||
if identity.nil? # new record
|
||||
raise(ArgumentError, "password or public_key is required for this operation") if !password && !public_key
|
||||
options['ssh_public_key'] = public_key if @public_key
|
||||
options['ssh_public_key'] = public_key if public_key
|
||||
options['password'] = password if @password
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue