Skip to content

Commit 78065ae

Browse files
Update crates/stackable-operator/src/commons/s3/crd.rs
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
1 parent 7d07914 commit 78065ae

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,10 @@ pub struct Region {
102102
pub name: String,
103103
}
104104

105-
/// Having it as `const &str` as well, so we don't always allocate a [`String`] just for comparisons
106-
const DEFAULT_REGION_NAME: &str = "us-east-1";
107105
impl Region {
106+
/// Having it as `const &str` as well, so we don't always allocate a [`String`] just for comparisons
107+
pub const DEFAULT_REGION_NAME: &str = "us-east-1";
108+
108109
fn default_region_name() -> String {
109110
DEFAULT_REGION_NAME.to_string()
110111
}

0 commit comments

Comments
 (0)