diff options
Diffstat (limited to 'manager')
-rw-r--r-- | manager/manager.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manager/manager.go b/manager/manager.go index 5bbd49f..2a58aab 100644 --- a/manager/manager.go +++ b/manager/manager.go @@ -21,8 +21,8 @@ func (m *Manager) Run() { ic := m.Input.Start() for w := range ic { - if w.Err != nil { - fmt.Printf("Got an error when getting Work input: %q\n", w.Err) + if w.Error() != nil { + fmt.Printf("Got an error when getting Work input: %q\n", w.Error()) continue } wg.Add(1) |