From 61a12e1801b5fb810870ae5857cb09d2ae994f47 Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Thu, 20 Sep 2018 07:37:55 +0900 Subject: [PATCH] Remove an unnecessary comment Remove an unnecessary 'TODO' comment because the check is already done when checking the host existence. Change-Id: I242159f80a7a682aac4632511fbd3ecc9b2d34db TrivialFix --- nova/compute/api.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nova/compute/api.py b/nova/compute/api.py index df0536855a67..b9308278f89e 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -3506,10 +3506,6 @@ class API(base.Base): else: # Set the host and the node so that the scheduler will # validate them. - # TODO(takashin): It will be added to check whether - # the specified host is within the same cell as - # the instance or not. If not, raise specific error message - # that is clear to the caller. request_spec.requested_destination = objects.Destination( host=node.host, node=node.hypervisor_hostname)