mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 00:06:38 +00:00
[client] change handling of EOF on jobStream
This commit is contained in:
@@ -204,7 +204,10 @@ func (c *GrpcClient) handleJobStream(
|
||||
}
|
||||
} else {
|
||||
// non-gRPC error
|
||||
c.notifyDisconnected(err)
|
||||
if !errors.Is(err, io.EOF) {
|
||||
c.notifyDisconnected(err)
|
||||
}
|
||||
|
||||
log.Warnf("disconnected from the Management service but will retry silently. Reason: %v", err)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user