Skip to content

Commit

Permalink
Correct doc comment for openapi test.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMcFelix committed Nov 28, 2023
1 parent 649eba7 commit b29188e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions nexus/types/src/external_api/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -767,14 +767,13 @@ pub struct FloatingIpCreate {
#[serde(flatten)]
pub identity: IdentityMetadataCreateParams,

/// An IP address to reserve for use as a floating IP. This field is
/// optional if a pool is provided, in which case an address will
/// be automatically chosen from there.
/// An IP address to reserve for use as a floating IP. This field is
/// optional: when not set, an address will be automatically chosen from
/// `pool`. If set, then the IP must be available in the resolved `pool`.
pub address: Option<IpAddr>,

/// The parent IP pool that a floating IP is pulled from. If combined
/// with an explicit address, then that address must be available in
/// the pool.
/// The parent IP pool that a floating IP is pulled from. If unset, the
/// default pool is selected.
pub pool: Option<NameOrId>,
}

Expand Down

0 comments on commit b29188e

Please sign in to comment.