mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
3b6ffc447b
Note that this does NOT upgrade to xDS v3. That will come in a future PR. Additionally: - Ignored staticcheck warnings about how github.com/golang/protobuf is deprecated. - Shuffled some agent/xds imports in advance of a later xDS v3 upgrade. - Remove support for envoy 1.13.x but don't add in 1.17.x yet. We have to wait until the xDS v3 support is added in a follow-up PR. Fixes #8425
14 lines
278 B
Go
14 lines
278 B
Go
// +build !consulent
|
|
|
|
package xds
|
|
|
|
import (
|
|
envoycore "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
func parseEnterpriseMeta(node *envoycore.Node) *structs.EnterpriseMeta {
|
|
return structs.DefaultEnterpriseMeta()
|
|
}
|