mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
Restore old escape hatch alias
This commit is contained in:
parent
e3dc2a49df
commit
306ef7d252
@ -638,7 +638,7 @@ type UpstreamConfig struct {
|
||||
//
|
||||
// Note: This escape hatch is NOT compatible with the discovery chain and
|
||||
// will be ignored if a discovery chain is active.
|
||||
ListenerJSON string `json:",omitempty" alias:"listener_json"`
|
||||
ListenerJSON string `json:",omitempty" alias:"listener_json,envoy_listener_json"`
|
||||
|
||||
// ClusterJSON is a complete override ("escape hatch") for the upstream's
|
||||
// cluster. The Connect client TLS certificate and context will be injected
|
||||
@ -646,7 +646,7 @@ type UpstreamConfig struct {
|
||||
//
|
||||
// Note: This escape hatch is NOT compatible with the discovery chain and
|
||||
// will be ignored if a discovery chain is active.
|
||||
ClusterJSON string `alias:"cluster_json"`
|
||||
ClusterJSON string `alias:"cluster_json,envoy_cluster_json"`
|
||||
|
||||
// Protocol describes the upstream's service protocol. Valid values are "tcp",
|
||||
// "http" and "grpc". Anything else is treated as tcp. The enables protocol
|
||||
|
Loading…
x
Reference in New Issue
Block a user