Skip to content

Commit

Permalink
Move rustdoc above field attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Oct 19, 2023
1 parent 0d154da commit 6b0b883
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/crd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ pub struct NameNodeConfig {
pub logging: Logging<NameNodeContainer>,
#[fragment_attrs(serde(default))]
pub affinity: StackableAffinity,
#[fragment_attrs(serde(default))]
/// Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.
#[fragment_attrs(serde(default))]
pub graceful_shutdown_timeout: Option<Duration>,
}

Expand Down Expand Up @@ -1011,8 +1011,8 @@ pub struct DataNodeConfig {
pub logging: Logging<DataNodeContainer>,
#[fragment_attrs(serde(default))]
pub affinity: StackableAffinity,
#[fragment_attrs(serde(default))]
/// Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.
#[fragment_attrs(serde(default))]
pub graceful_shutdown_timeout: Option<Duration>,
}

Expand Down Expand Up @@ -1170,8 +1170,8 @@ pub struct JournalNodeConfig {
pub logging: Logging<JournalNodeContainer>,
#[fragment_attrs(serde(default))]
pub affinity: StackableAffinity,
#[fragment_attrs(serde(default))]
/// Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.
#[fragment_attrs(serde(default))]
pub graceful_shutdown_timeout: Option<Duration>,
}

Expand Down

0 comments on commit 6b0b883

Please sign in to comment.