2
0
mirror of https://github.com/status-im/consul.git synced 2025-03-02 06:10:44 +00:00

14 lines
361 B
Go

// +build !consulent
package connect
import (
"github.com/hashicorp/consul/agent/structs"
)
// GetEnterpriseMeta will synthesize an EnterpriseMeta struct from the SpiffeIDService.
// in OSS this just returns an empty (but never nil) struct pointer
func (id *SpiffeIDService) GetEnterpriseMeta() *structs.EnterpriseMeta {
return &structs.EnterpriseMeta{}
}