Merge pull request #2389 from hashicorp/jbs-2019
Lower Service tag DNS warning to DEBUG for #2019
This commit is contained in:
commit
dace771f06
|
@ -816,7 +816,7 @@ func (a *Agent) AddService(service *structs.NodeService, chkTypes CheckTypes, pe
|
||||||
// Warn if any tags are incompatible with DNS
|
// Warn if any tags are incompatible with DNS
|
||||||
for _, tag := range service.Tags {
|
for _, tag := range service.Tags {
|
||||||
if !dnsNameRe.MatchString(tag) {
|
if !dnsNameRe.MatchString(tag) {
|
||||||
a.logger.Printf("[WARN] Service tag %q will not be discoverable "+
|
a.logger.Printf("[DEBUG] Service tag %q will not be discoverable "+
|
||||||
"via DNS due to invalid characters. Valid characters include "+
|
"via DNS due to invalid characters. Valid characters include "+
|
||||||
"all alpha-numerics and dashes.", tag)
|
"all alpha-numerics and dashes.", tag)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue