open-consul/agent/structs/catalog_oss.go

13 lines
210 B
Go
Raw Normal View History

//go:build !consulent
// +build !consulent
package structs
func IsConsulServiceID(id ServiceID) bool {
return id.ID == ConsulServiceID
}
func IsSerfCheckID(id CheckID) bool {
return id.ID == SerfCheckID
}