mirror of https://github.com/status-im/consul.git
8a5163b184
When de-registering in anti-entropy sync, when there is no service or check token. The agent token will fall back to the default (aka user) token if no agent token is set, so the existing behaviour still works, but it will prefer the agent token over the user token if both are set. ref: https://www.consul.io/docs/agent/options#acl_tokens The agent token seems more approrpiate in this case, since this is an "internal operation", not something initiated by the user. |
||
---|---|---|
.. | ||
state.go | ||
state_test.go | ||
testing.go |