mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #1383: Fixes bug for keypair module
This commit is contained in:
parent
f1bc72ae4c
commit
dc5b09d22f
@ -48,7 +48,7 @@ module Keypair
|
||||
########################################################################
|
||||
def get_keypair
|
||||
if has_elements?(EC2_KP_XPATH)
|
||||
kp64 = Base64.decode64(user[EC2_KP_XPATH])
|
||||
kp64 = Base64.decode64(self[EC2_KP_XPATH])
|
||||
kp = JSON.parse(kp64)
|
||||
else
|
||||
kp = Hash.new
|
||||
|
Loading…
x
Reference in New Issue
Block a user