Skip to content

Commit b1a0760

Browse files
committed
chore(stackable-operator): Rename associated function to name (since the struct is already representing the "region"
1 parent 09c37a5 commit b1a0760

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl AwsRegion {
122122
///
123123
/// Returns None if an auto-discovery source has been selected.
124124
/// Otherwise, returns the configured region name.
125-
pub fn region(self) -> Option<String> {
125+
pub fn name(self) -> Option<String> {
126126
match self {
127127
AwsRegion::Name(name) => Some(name),
128128
AwsRegion::Source(_) => None,

0 commit comments

Comments
 (0)