Skip to content

Commit 62ca7d9

Browse files
committed
MEDIUM: defaults: add support for child resources in defaults section
1 parent 2db668f commit 62ca7d9

File tree

158 files changed

+49084
-17639
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+49084
-17639
lines changed

discovery/consul_service_discovery_instance.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import (
3030

3131
"github.com/haproxytech/dataplaneapi/log"
3232
"github.com/haproxytech/dataplaneapi/misc"
33-
3433
jsoniter "github.com/json-iterator/go"
3534
)
3635

e2e/tests/x_issue_132/check.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ load '../../libs/haproxy_config_setup'
2121
load '../../libs/version'
2222

2323
@test "x_issue_132: https://github.com/haproxytech/dataplaneapi/issues/132" {
24-
PARENT_NAME="bug_132"
24+
PARENT_NAME="bug_132_bck"
2525
resource_post "/services/haproxy/configuration/backends/$PARENT_NAME/servers" "data/add_server.json" "force_reload=true"
2626
assert_equal "$SC" 201
2727
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
frontend bug_132
1+
frontend bug_132_bck
22
bind *:1132
33
http-response replace-header Set-Cookie (.*) \1;\ Secure if { ssl_fc }
44
http-response replace-header Set-Cookie (.*);\ Secure(.*) \1\2 unless { ssl_fc }
5-
default_backend bug_132
5+
default_backend bug_132_bck
66

7-
backend bug_132
7+
backend bug_132_bck
88
server app1 127.0.0.1:8080

0 commit comments

Comments
 (0)