File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -288,9 +288,9 @@ async fn test_ip_pool_with_silo(cptestctx: &ControlPlaneTestContext) {
288288 } ;
289289 let created_pool = create_pool ( client, & params) . await ;
290290 assert_eq ! ( created_pool. identity. name, "p0" ) ;
291- assert ! ( created_pool. silo_id. is_some( ) ) ;
292291
293- let silo_id = created_pool. silo_id . unwrap ( ) ;
292+ let silo_id =
293+ created_pool. silo_id . expect ( "Expected pool to have a silo_id" ) ;
294294
295295 // now we'll create another IP pool using that silo ID
296296 let params = IpPoolCreate {
Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ pub struct IpPoolCreate {
736736 /// silo can draw from that pool.
737737 pub silo : Option < NameOrId > ,
738738
739- /// Whether the IP pool is considered a default pool for its scope (fleet,
739+ /// Whether the IP pool is considered a default pool for its scope (fleet
740740 /// or silo). If a pool is marked default and is associated with a silo,
741741 /// instances created in that silo will draw IPs from that pool unless
742742 /// another pool is specified at instance create time.
You can’t perform that action at this time.
0 commit comments