mirror of
https://github.com/rancher/steve.git
synced 2025-09-15 06:49:27 +00:00
b1c749eaf4c03d19f146f566f9751bd1d75100fd
Add debug logs and send websocket messages when the watch is closed
unexpectedly.
In addition to being helpful for debugging, the dashboard specifically
looks for a `resource.error` event containing the string "too old" in
order to trigger the watch to be resynced with a refreshed revision
number. Without this error returned, the dashboard will only see
`resource.stop` events and never change its behavior, continuing to try
to restart the watch with an incorrect resource version.
(cherry picked from commit ada5b33d98
)
Description
No description provided
Languages
Go
99.8%