Skip to content

Commit 6c97a68

Browse files
committed
Fix compilation
1 parent 78065ae commit 6c97a68

File tree

1 file changed

+2
-2
lines changed
  • crates/stackable-operator/src/commons/s3

1 file changed

+2
-2
lines changed

crates/stackable-operator/src/commons/s3/crd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl Region {
107107
pub const DEFAULT_REGION_NAME: &str = "us-east-1";
108108

109109
fn default_region_name() -> String {
110-
DEFAULT_REGION_NAME.to_string()
110+
Self::DEFAULT_REGION_NAME.to_string()
111111
}
112112

113113
/// Returns if the region sticks to the Stackable defaults.
@@ -116,7 +116,7 @@ impl Region {
116116
/// This function can be used to determine if a warning or error should be raised to inform the
117117
/// user of this situation.
118118
pub fn is_default_config(&self) -> bool {
119-
self.name == DEFAULT_REGION_NAME
119+
self.name == Self::DEFAULT_REGION_NAME
120120
}
121121
}
122122

0 commit comments

Comments
 (0)