Removes a useless empty import and fixes some stale comments.

This commit is contained in:
James Phillips 2015-11-17 08:29:20 -08:00
parent 8fc6a6a986
commit 1059a8b3a3
2 changed files with 2 additions and 4 deletions

View File

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

View File

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