open-consul/agent/config/config_oss.go

14 lines
288 B
Go
Raw Normal View History

//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()
}