mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
2dd5551003
Ensure that the embedded api struct is properly parsed when deserializing config containing a set ResourceFilter.Services field. Also enhance existing integration test to guard against bugs and exercise this field.
24 lines
398 B
HCL
24 lines
398 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
services {
|
|
name = "s1"
|
|
port = 8080
|
|
connect {
|
|
sidecar_service {
|
|
proxy {
|
|
upstreams = [
|
|
{
|
|
destination_name = "s2"
|
|
local_bind_port = 5000
|
|
},
|
|
{
|
|
destination_name = "s3"
|
|
local_bind_port = 5001
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|