Skip to content

Commit 6455ec3

Browse files
committed
fix outdated comment on external IP queries, bump openapi spec
1 parent b151e08 commit 6455ec3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

nexus/db-queries/src/db/queries/external_ip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const MAX_PORT: u16 = u16::MAX;
7474
///
7575
/// In general, the query:
7676
///
77-
/// - Selects the next available IP address and port range from _any_ IP Pool
77+
/// - Selects the next available IP address and port range from the specified IP pool
7878
/// - Inserts that record into the `external_ip` table
7979
/// - Updates the rcgen and time modified of the parent `ip_pool_range` table
8080
///

openapi/nexus.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10169,6 +10169,9 @@
1016910169
"description": "Create-time parameters for an `IpPool`",
1017010170
"type": "object",
1017110171
"properties": {
10172+
"default": {
10173+
"type": "boolean"
10174+
},
1017210175
"description": {
1017310176
"type": "string"
1017410177
},
@@ -10186,6 +10189,7 @@
1018610189
}
1018710190
},
1018810191
"required": [
10192+
"default",
1018910193
"description",
1019010194
"name"
1019110195
]

0 commit comments

Comments
 (0)