@@ -791,10 +791,10 @@ func (s HaProxyTestSuite) Test_CreateConfigFromTemplates_AddsServicePathExclude(
791791 `%s
792792 acl url_my-service-11111_0 path_beg /path-1
793793 acl url_exclude_my-service-11111_0 path_beg /path-2 path_beg /path-3
794- acl http_my-service-1 dst_port 80
795- acl https_my-service-1 dst_port 443
796- use_backend my-service-1-be1111_0 if url_my-service-11111_0 !url_exclude_my-service-11111_0 http_my-service-1
797- use_backend https-my-service-1-be1111_0 if url_my-service-11111_0 !url_exclude_my-service-11111_0 https_my-service-1 %s` ,
794+ acl http_my-service-1_0 dst_port 80
795+ acl https_my-service-1_0 dst_port 443
796+ use_backend my-service-1-be1111_0 if url_my-service-11111_0 !url_exclude_my-service-11111_0 http_my-service-1_0
797+ use_backend https-my-service-1-be1111_0 if url_my-service-11111_0 !url_exclude_my-service-11111_0 https_my-service-1_0 %s` ,
798798 tmpl ,
799799 s .ServicesContent ,
800800 )
@@ -1833,10 +1833,10 @@ func (s HaProxyTestSuite) Test_CreateConfigFromTemplates_AddsContentFrontEndWith
18331833 expectedData := fmt .Sprintf (
18341834 `%s
18351835 acl url_my-service1111_0 path_beg /path
1836- acl http_my-service dst_port 80
1837- acl https_my-service dst_port 443
1838- use_backend my-service-be1111_0 if url_my-service1111_0 http_my-service
1839- use_backend https-my-service-be1111_0 if url_my-service1111_0 https_my-service %s` ,
1836+ acl http_my-service_0 dst_port 80
1837+ acl https_my-service_0 dst_port 443
1838+ use_backend my-service-be1111_0 if url_my-service1111_0 http_my-service_0
1839+ use_backend https-my-service-be1111_0 if url_my-service1111_0 https_my-service_0 %s` ,
18401840 tmpl ,
18411841 s .ServicesContent ,
18421842 )
0 commit comments