83bf7ab3ff
This should let freshly recompiled golangci-lint binaries using Go 1.17 pass 'make lint'
15 lines
329 B
Go
15 lines
329 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package xds
|
|
|
|
import (
|
|
envoy_core_v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
func parseEnterpriseMeta(node *envoy_core_v3.Node) *structs.EnterpriseMeta {
|
|
return structs.DefaultEnterpriseMetaInDefaultPartition()
|
|
}
|