mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
ci: Run hclogvet across all codebase and fix found issue. (#26545)
This commit is contained in:
@@ -238,7 +238,7 @@ func (d *ExportMonitor) Start() <-chan []byte {
|
||||
for {
|
||||
n, readErr := d.ExportReader.Read(logChunk)
|
||||
if readErr != nil && readErr != io.EOF {
|
||||
d.logger.Error("unable to read logs into channel", readErr.Error())
|
||||
d.logger.Error("unable to read logs into channel", "error", readErr.Error())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user