mirror of https://github.com/status-im/consul.git
Removes a useless empty import and fixes some stale comments.
This commit is contained in:
parent
8fc6a6a986
commit
1059a8b3a3
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue