consul/agent/structs/connect_proxy_config_oss.go

19 lines
338 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) enterpriseStringPrefix() string {
return ""
}