diff --git a/lib/promrelabel/relabel_test.go b/lib/promrelabel/relabel_test.go index 67caaad61..57c10e2ad 100644 --- a/lib/promrelabel/relabel_test.go +++ b/lib/promrelabel/relabel_test.go @@ -718,7 +718,7 @@ func TestApplyRelabelConfigs(t *testing.T) { target_label: container_label_com_docker_swarm_task_name action: replace `, `{instance="subdomain.domain.com",container_label_com_docker_swarm_task_name="myservice.h408nlaxmv8oqkn1pjjtd71to.nv987lz99rb27lkjjnfiay0g4"}`, true, -`{container_label_com_docker_swarm_task_name="myservice:subdomain",instance="subdomain.domain.com"}`) + `{container_label_com_docker_swarm_task_name="myservice:subdomain",instance="subdomain.domain.com"}`) }) }