2023-03-28 18:39:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-11-15 15:51:14 +00:00
|
|
|
//go:build !consulent
|
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package consul
|
|
|
|
|
|
|
|
import libserf "github.com/hashicorp/consul/lib/serf"
|
|
|
|
|
|
|
|
func updateSerfTags(s *Server, key, value string) {
|
|
|
|
libserf.UpdateTag(s.serfLAN, key, value)
|
|
|
|
|
|
|
|
if s.serfWAN != nil {
|
|
|
|
libserf.UpdateTag(s.serfWAN, key, value)
|
|
|
|
}
|
|
|
|
}
|