From 787b2363058e97696b4ce6d8bc514115b979e4f4 Mon Sep 17 00:00:00 2001 From: llnu Date: Sun, 8 Dec 2019 13:25:03 +0100 Subject: [PATCH] fixed brackets --- ucloud/scheduler/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucloud/scheduler/main.py b/ucloud/scheduler/main.py index 9ebc4c8..33e94f2 100755 --- a/ucloud/scheduler/main.py +++ b/ucloud/scheduler/main.py @@ -46,7 +46,7 @@ def main(): r = RequestEntry.from_scratch(type="ScheduleVM", uuid=pending_vm_entry.uuid, hostname=pending_vm_entry.hostname, - request_prefix=config['etcd']["REQUEST_PREFIX"]) + request_prefix=config['etcd']['REQUEST_PREFIX']) request_pool.put(r) elif request_entry.type == RequestType.ScheduleVM: @@ -72,7 +72,7 @@ def main(): r = RequestEntry.from_scratch(type=RequestType.InitVMMigration, uuid=request_entry.uuid, destination=request_entry.destination, - request_prefix=config['etcd']["REQUEST_PREFIX"]) + request_prefix=config['etcd']['REQUEST_PREFIX']) request_pool.put(r) # If the Request is about a VM that just want to get started/created