open-consul/agent/structs/connect_proxy_config_oss.go
2021-12-13 11:43:33 -06:00

19 lines
342 B
Go

//go:build !consulent
// +build !consulent
package structs
func (us *Upstream) GetEnterpriseMeta() *EnterpriseMeta {
return DefaultEnterpriseMetaInDefaultPartition()
}
func (us *Upstream) DestinationID() ServiceID {
return ServiceID{
ID: us.DestinationName,
}
}
func (us *Upstream) enterpriseIdentifierPrefix() string {
return ""
}