1
0
mirror of https://github.com/rancher/steve.git synced 2025-04-28 03:10:32 +00:00

WatchNames: return errors via WebSocket

Align behavior with plain Watch, which also does the same.

Fixes https://github.com/rancher/rancher/issues/41809

Signed-off-by: Silvio Moioli <silvio@moioli.net>
This commit is contained in:
Silvio Moioli 2023-12-22 16:21:48 +01:00
parent c53bd62e9c
commit 898644971b
No known key found for this signature in database

View File

@ -367,6 +367,7 @@ func (s *Store) WatchNames(apiOp *types.APIRequest, schema *types.APISchema, w t
} else {
logrus.Debugf("WatchNames received error: %v", item)
}
result <- item
continue
}