consul/agent/structs/catalog_oss.go

12 lines
188 B
Go
Raw Normal View History

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