From 0e667b5262b238b74bc4a22f71a635561fde6f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Thu, 30 Jan 2020 09:00:28 +0100 Subject: [PATCH] Fix UUID variable in oneshot/vm/get_name --- uncloud/oneshot/virtualmachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncloud/oneshot/virtualmachine.py b/uncloud/oneshot/virtualmachine.py index c8c2909..5749bee 100644 --- a/uncloud/oneshot/virtualmachine.py +++ b/uncloud/oneshot/virtualmachine.py @@ -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']