consul/agent/local
Aestek 5dc8875bd3 agent: do not deregister service checks twice (#6168)
Deregistering a service from the catalog automatically deregisters its
checks, however the agent still performs a deregister call for each
service checks even after the service has been deregistered.
With ACLs enabled this results in logs like:
"message:consul: "Catalog.Deregister" RPC failed to server
server_ip:8300: rpc error making call: rpc error making call: Unknown
check 'check_id'"
This change removes associated checks from the agent state when
deregistering a service, which results in less calls to the servers and
supresses the error logs.
2020-01-17 14:26:53 +01:00
..
state.go agent: do not deregister service checks twice (#6168) 2020-01-17 14:26:53 +01:00
state_test.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
testing.go connect: remove managed proxies (#6220) 2019-08-09 15:19:30 -04:00