mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-02 01:07:57 +00:00
f471ad736c
The API uses 304 as a mechanism for load management on target state requests. This may cause that the supervisor receives a 304 response without having received a copy of the target state first, leading to issues. This change checks for an etag when receiving a 304, throwing an exception otherwise. Change-type: patch