Fix go vet errors
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
54c213e8a7
commit
514ca2d407
3 changed files with 5 additions and 10 deletions
|
@ -416,7 +416,7 @@ func readLogMessages(path string) ([]message, error) {
|
|||
var m message
|
||||
if err := dec.Decode(&m); err != nil {
|
||||
if err == io.EOF {
|
||||
return out, nil
|
||||
break
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue