From bc87a4702b5135f48ff28f850186f8980fd5f1cb Mon Sep 17 00:00:00 2001 From: Sean Klein Date: Mon, 20 Feb 2023 11:29:27 -0500 Subject: [PATCH] Update comment --- nexus/src/db/queries/external_ip.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nexus/src/db/queries/external_ip.rs b/nexus/src/db/queries/external_ip.rs index f9535b6904..7db27601c1 100644 --- a/nexus/src/db/queries/external_ip.rs +++ b/nexus/src/db/queries/external_ip.rs @@ -511,8 +511,11 @@ impl NextExternalIp { Ok(()) } - // Push a subquery that selects the sequence of IP addresses, from each range in - // each IP Pool, along with the pool/range IDs. + // Push a subquery which selects either: + // - A sequence of candidate IP addresses from the IP pool range, if no + // explicit IP address has been supplied, or + // - A single IP address within the range, if an explicit IP address has + // been supplied. // // ```sql // SELECT * FROM (