mirror of https://github.com/status-im/consul.git
19 lines
406 B
Go
19 lines
406 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package pbcommon
|
|
|
|
import (
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
var DefaultEnterpriseMeta = EnterpriseMeta{}
|
|
|
|
func EnterpriseMetaToStructs(_ *EnterpriseMeta) structs.EnterpriseMeta {
|
|
return *structs.DefaultEnterpriseMetaInDefaultPartition()
|
|
}
|
|
|
|
func NewEnterpriseMetaFromStructs(_ structs.EnterpriseMeta) *EnterpriseMeta {
|
|
return &EnterpriseMeta{}
|
|
}
|