File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
rust/operator-binary/src/crd Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ impl v1alpha1::DruidCluster {
468468
469469 /// The name of the role-level load-balanced Kubernetes `Service`
470470 pub fn role_service_name ( & self , role : & DruidRole ) -> Option < String > {
471- Some ( format ! ( "{}-{}" , self . metadata. name. clone( ) ?, role) )
471+ Some ( format ! ( "{}-{}-metrics " , self . metadata. name. clone( ) ?, role) )
472472 }
473473
474474 /// The fully-qualified domain name of the role-level load-balanced Kubernetes `Service`
@@ -1668,12 +1668,12 @@ mod tests {
16681668
16691669 assert_eq ! (
16701670 cluster. role_service_name( & DruidRole :: Router ) ,
1671- Some ( "testcluster-router" . to_string( ) )
1671+ Some ( "testcluster-router-metrics " . to_string( ) )
16721672 ) ;
16731673
16741674 assert_eq ! (
16751675 cluster. role_service_fqdn( & DruidRole :: Router , & dummy_cluster_info) ,
1676- Some ( "testcluster-router.default.svc.cluster.local" . to_string( ) )
1676+ Some ( "testcluster-router-metrics .default.svc.cluster.local" . to_string( ) )
16771677 )
16781678 }
16791679
You can’t perform that action at this time.
0 commit comments