open-consul/agent/structs/connect_proxy_config_oss.go

14 lines
230 B
Go
Raw Normal View History

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