mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-15 12:52:44 -06:00
2a6b8a74ca
Earlier the client would reset the etag on the downloader in case of downloader errors and bundle activation failures. The drawback of this approach is that OPA could potentially download the same version of a bundle multiple times thereby unnecessarily adding to network traffic. This change resolves the issue by allowing the client to set the etag on the downloader to the last successful activation etag value in case of failures. Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>