Use oneadmin_client to update a user's ssh key

This commit is contained in:
PCoder 2019-06-10 09:23:48 +02:00
parent 72ea362d01
commit c99e943ebc
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ class OpenNebulaManager():
:return:
"""
return_value = self.client.call(
return_value = self.oneadmin_client.call(
'user.update',
self.opennebula_user.id,
'<CONTEXT><SSH_PUBLIC_KEY>%s</SSH_PUBLIC_KEY></CONTEXT>' % ssh_key,