We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d07914 commit 78065aeCopy full SHA for 78065ae
crates/stackable-operator/src/commons/s3/crd.rs
@@ -102,9 +102,10 @@ pub struct Region {
102
pub name: String,
103
}
104
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";
107
impl Region {
+ /// Having it as `const &str` as well, so we don't always allocate a [`String`] just for comparisons
+ pub const DEFAULT_REGION_NAME: &str = "us-east-1";
108
+
109
fn default_region_name() -> String {
110
DEFAULT_REGION_NAME.to_string()
111
0 commit comments