mirror of
https://github.com/status-im/consul.git
synced 2025-02-19 17:14:37 +00:00
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
|
package api
|
||||||
|
|
||||||
import ()
|
|
||||||
|
|
||||||
// QueryDatacenterOptions sets options about how we fail over if there are no
|
// QueryDatacenterOptions sets options about how we fail over if there are no
|
||||||
// healthy nodes in the local datacenter.
|
// healthy nodes in the local datacenter.
|
||||||
type QueryDatacenterOptions struct {
|
type QueryDatacenterOptions struct {
|
||||||
@ -37,7 +35,7 @@ type ServiceQuery struct {
|
|||||||
OnlyPassing bool
|
OnlyPassing bool
|
||||||
|
|
||||||
// Tags are a set of required and/or disallowed tags. If a tag is in
|
// 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.
|
// it is disallowed.
|
||||||
Tags []string
|
Tags []string
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ type ServiceQuery struct {
|
|||||||
OnlyPassing bool
|
OnlyPassing bool
|
||||||
|
|
||||||
// Tags are a set of required and/or disallowed tags. If a tag is in
|
// 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.
|
// it is disallowed.
|
||||||
Tags []string
|
Tags []string
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user