2023-03-28 18:39:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2021-07-22 19:33:22 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package structs
|
|
|
|
|
|
|
|
func IsConsulServiceID(id ServiceID) bool {
|
|
|
|
return id.ID == ConsulServiceID
|
|
|
|
}
|
|
|
|
|
|
|
|
func IsSerfCheckID(id CheckID) bool {
|
|
|
|
return id.ID == SerfCheckID
|
|
|
|
}
|