Skip to content

Commit

Permalink
WatchNames: return errors via WebSocket
Browse files Browse the repository at this point in the history
Align behavior with plain Watch, which also does the same.

Fixes rancher/rancher#41809

Signed-off-by: Silvio Moioli <silvio@moioli.net>
  • Loading branch information
moio committed Mar 4, 2024
1 parent 05ebdc1 commit 82473d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/stores/proxy/proxy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ func (s *Store) WatchNames(apiOp *types.APIRequest, schema *types.APISchema, w t
} else {
logrus.Debugf("WatchNames received error: %v", item)
}
result <- item
continue
}

Expand Down

0 comments on commit 82473d6

Please sign in to comment.