Skip to content

Commit 2db7d1e

Browse files
committed
Remove old TODO about forced_host policy check
The TODO added in Kilo [1] is removed here since we have consolidated the server create extension code into the main servers controller [2] which makes the TODO irrelevant. [1] If3c68af8a438e77045b2b719873fc39e8473b6ea [2] I4d817e5516c8bea8f3bffb28683a1e041303dae9 Change-Id: Ibf08a9a9653bdc48ab1099a26fc9f9a9f70a33e2
1 parent 7132882 commit 2db7d1e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nova/api/openstack/compute/servers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,6 @@ def create(self, req, body):
642642
context.can(server_policies.SERVERS % 'create:trusted_certs',
643643
target=target)
644644

645-
# TODO(Shao He, Feng) move this policy check to os-availability-zone
646-
# extension after refactor it.
647645
parse_az = self.compute_api.parse_availability_zone
648646
try:
649647
availability_zone, host, node = parse_az(context,

0 commit comments

Comments
 (0)