Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions agent/proxycfg-glue/glue.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ func newUpdateEvent(correlationID string, result any, err error) proxycfg.Update
if acl.IsErrNotFound(err) {
err = proxycfg.TerminalError(err)
}
// these are also errors where we should mark them
// as terminal for the sake of proxycfg, since they require
// a resubscribe.
if err == stream.ErrSubForceClosed || err == stream.ErrShuttingDown {
err = proxycfg.TerminalError(err)
}
Comment thread
andrewstucki marked this conversation as resolved.
Outdated
return proxycfg.UpdateEvent{
CorrelationID: correlationID,
Result: result,
Expand Down