open-consul/proto/pbcommon/common_oss.go

19 lines
406 B
Go
Raw Normal View History

//go:build !consulent
2020-10-21 20:08:33 +00:00
// +build !consulent
package pbcommon
2022-03-16 16:12:29 +00:00
import (
"github.com/hashicorp/consul/agent/structs"
)
2020-10-21 20:08:33 +00:00
var DefaultEnterpriseMeta = EnterpriseMeta{}
2022-03-16 16:12:29 +00:00
func EnterpriseMetaToStructs(_ *EnterpriseMeta) structs.EnterpriseMeta {
return *structs.DefaultEnterpriseMetaInDefaultPartition()
}
func NewEnterpriseMetaFromStructs(_ structs.EnterpriseMeta) *EnterpriseMeta {
return &EnterpriseMeta{}
}