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
In case the input can't be read, scanner.Scan() stops and the code is
supposed to check for error using scanner.Err(). Do that.
In other words, instead of returning half-read cpuinfo, return an error.
Signed-off-by: Kir Kolyshkin <[email protected]>
0 commit comments