diff --git a/api/prepared_query.go b/api/prepared_query.go index 3ec53d7d19..c8141887c4 100644 --- a/api/prepared_query.go +++ b/api/prepared_query.go @@ -1,7 +1,5 @@ package api -import () - // QueryDatacenterOptions sets options about how we fail over if there are no // healthy nodes in the local datacenter. type QueryDatacenterOptions struct { @@ -37,7 +35,7 @@ type ServiceQuery struct { OnlyPassing bool // Tags are a set of required and/or disallowed tags. If a tag is in - // this list it must be present. If the tag is preceded with "~" then + // this list it must be present. If the tag is preceded with "!" then // it is disallowed. Tags []string } diff --git a/consul/structs/prepared_query.go b/consul/structs/prepared_query.go index ba966c6a3e..c2d04d4e6a 100644 --- a/consul/structs/prepared_query.go +++ b/consul/structs/prepared_query.go @@ -35,7 +35,7 @@ type ServiceQuery struct { OnlyPassing bool // Tags are a set of required and/or disallowed tags. If a tag is in - // this list it must be present. If the tag is preceded with "~" then + // this list it must be present. If the tag is preceded with "!" then // it is disallowed. Tags []string }