83bf7ab3ff
This should let freshly recompiled golangci-lint binaries using Go 1.17 pass 'make lint'
14 lines
288 B
Go
14 lines
288 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package config
|
|
|
|
import "github.com/hashicorp/consul/agent/structs"
|
|
|
|
// EnterpriseMeta stub
|
|
type EnterpriseMeta struct{}
|
|
|
|
func (_ *EnterpriseMeta) ToStructs() structs.EnterpriseMeta {
|
|
return *structs.DefaultEnterpriseMetaInDefaultPartition()
|
|
}
|