You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: calculate boot time correctly if the time jumps
Instead of capturing boot time difference with `time.Now()` just once at
the beginning of streaming kmsg events, re-check the `time.Now()` while
processing each message.
This fixes issue with kmsg logs as seens e.g. from RPi: as it has not
RTC, it might streaming ksmg logs while time is back at zero (1970), but
as NTP catches up, the stream still reports dates in 1970, not accepting
the fact that the NTP caught up.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
0 commit comments