Skip to content

Commit fcc4437

Browse files
Update rust/operator-binary/src/crd/database.rs
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
1 parent 4b63fe1 commit fcc4437

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rust/operator-binary/src/crd/database.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ impl MetadataDatabaseConnection {
3939
/// Name of the database as it should be passed using `METADATA_STORAGE_TYPE` ("druid.metadata.storage.type") property.
4040
pub fn as_metadata_storage_type(&self) -> &str {
4141
match self {
42-
MetadataDatabaseConnection::Postgresql(_) => "postgresql",
43-
MetadataDatabaseConnection::Mysql(_) => "mysql",
44-
MetadataDatabaseConnection::Derby(_) => "derby",
42+
Self::Postgresql(_) => "postgresql",
43+
Self::Mysql(_) => "mysql",
44+
Self::Derby(_) => "derby",
4545
}
4646
}
4747
}

0 commit comments

Comments
 (0)