mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
4ef9fc9f27
A few of the unexported functions in agent/cache took a large number of arguments. These arguments were effectively overrides for values that were provided in RequestInfo. By using a struct we can not only reduce the number of arguments, but also simplify the logic by removing the need for overrides.