Skip to content

Commit 3cce090

Browse files
Update rust/operator-binary/src/crd/mod.rs
Co-authored-by: Techassi <[email protected]>
1 parent 8495dda commit 3cce090

File tree

1 file changed

+3
-3
lines changed
  • rust/operator-binary/src/crd

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,15 +551,15 @@ impl v1alpha1::HbaseCluster {
551551
pub fn metrics_ports(&self, role: &HbaseRole) -> Vec<(String, u16)> {
552552
match role {
553553
HbaseRole::Master => vec![(
554-
HBASE_METRICS_PORT_NAME.to_string(),
554+
HBASE_METRICS_PORT_NAME.to_owned(),
555555
HBASE_MASTER_METRICS_PORT,
556556
)],
557557
HbaseRole::RegionServer => vec![(
558-
HBASE_METRICS_PORT_NAME.to_string(),
558+
HBASE_METRICS_PORT_NAME.to_owned(),
559559
HBASE_REGIONSERVER_METRICS_PORT,
560560
)],
561561
HbaseRole::RestServer => {
562-
vec![(HBASE_METRICS_PORT_NAME.to_string(), HBASE_REST_METRICS_PORT)]
562+
vec![(HBASE_METRICS_PORT_NAME.to_owned(), HBASE_REST_METRICS_PORT)]
563563
}
564564
}
565565
}

0 commit comments

Comments
 (0)