Skip to content

Commit 6b0b883

Browse files
committed
Move rustdoc above field attributes
1 parent 0d154da commit 6b0b883

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rust/crd/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -843,8 +843,8 @@ pub struct NameNodeConfig {
843843
pub logging: Logging<NameNodeContainer>,
844844
#[fragment_attrs(serde(default))]
845845
pub affinity: StackableAffinity,
846-
#[fragment_attrs(serde(default))]
847846
/// Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.
847+
#[fragment_attrs(serde(default))]
848848
pub graceful_shutdown_timeout: Option<Duration>,
849849
}
850850

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

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

0 commit comments

Comments
 (0)