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 8495dda commit 3cce090Copy full SHA for 3cce090
rust/operator-binary/src/crd/mod.rs
@@ -551,15 +551,15 @@ impl v1alpha1::HbaseCluster {
551
pub fn metrics_ports(&self, role: &HbaseRole) -> Vec<(String, u16)> {
552
match role {
553
HbaseRole::Master => vec![(
554
- HBASE_METRICS_PORT_NAME.to_string(),
+ HBASE_METRICS_PORT_NAME.to_owned(),
555
HBASE_MASTER_METRICS_PORT,
556
)],
557
HbaseRole::RegionServer => vec![(
558
559
HBASE_REGIONSERVER_METRICS_PORT,
560
561
HbaseRole::RestServer => {
562
- vec![(HBASE_METRICS_PORT_NAME.to_string(), HBASE_REST_METRICS_PORT)]
+ vec![(HBASE_METRICS_PORT_NAME.to_owned(), HBASE_REST_METRICS_PORT)]
563
}
564
565
0 commit comments