Merge pull request #2389 from hashicorp/jbs-2019

Lower Service tag DNS warning to DEBUG for #2019
This commit is contained in:
James Phillips 2016-10-24 17:05:02 -07:00 committed by GitHub
commit dace771f06
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }