mirror of
https://github.com/rancher/steve.git
synced 2025-08-01 23:03:28 +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:
parent
9935404019
commit
1585ed3f7a
@ -370,6 +370,7 @@ func (s *Store) WatchNames(apiOp *types.APIRequest, schema *types.APISchema, w t
|
|||||||
} else {
|
} else {
|
||||||
logrus.Debugf("WatchNames received error: %v", item)
|
logrus.Debugf("WatchNames received error: %v", item)
|
||||||
}
|
}
|
||||||
|
result <- item
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user