forked from uncloud/uncloud
Fix UUID variable in oneshot/vm/get_name
This commit is contained in:
parent
f2337a14eb
commit
0e667b5262
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class VM(object):
|
|||
return self.uuid
|
||||
|
||||
def get_name(self):
|
||||
success, json = self.vmm.execute_command(uuid, 'query-name')
|
||||
success, json = self.vmm.execute_command(self.uuid, 'query-name')
|
||||
if success:
|
||||
return json['return']['name']
|
||||
|
||||
|
|
Loading…
Reference in a new issue