mirror of https://github.com/hashicorp/consul
20 lines
395 B
Go
20 lines
395 B
Go
|
// Copyright (c) HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: BUSL-1.1
|
||
|
|
||
|
//go:build !consulent
|
||
|
// +build !consulent
|
||
|
|
||
|
package config
|
||
|
|
||
|
import (
|
||
|
"github.com/hashicorp/consul/acl"
|
||
|
"github.com/hashicorp/consul/agent/structs"
|
||
|
)
|
||
|
|
||
|
// EnterpriseMeta stub
|
||
|
type EnterpriseMeta struct{}
|
||
|
|
||
|
func (_ *EnterpriseMeta) ToStructs() acl.EnterpriseMeta {
|
||
|
return *structs.DefaultEnterpriseMetaInDefaultPartition()
|
||
|
}
|