lib/promrelabel: go fmt after 5cec9706dc

This commit is contained in:
Aliaksandr Valialkin 2022-10-29 05:17:10 +03:00
parent 0f8f36de24
commit 869e0f9f85
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -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"}`)
})
}