Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thom-at-redhat committed Oct 28, 2024
1 parent a3f2484 commit 4d007a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/workceptor/workunitbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func (bwu *BaseWorkUnit) MonitorLocalStatus() {
defer func() {
werr := bwu.watcher.Close()
if werr != nil {
bwu.w.nc.GetLogger().Error("Error closing %s: %s", statusFile, err)
bwu.w.nc.GetLogger().Error("Error in defer closing %s: %s", statusFile, err)
}
}()
watcherEvents = bwu.watcher.EventChannel()
Expand Down Expand Up @@ -435,7 +435,7 @@ loop:
if event.Op&fsnotify.Write == fsnotify.Write {
err = bwu.Load()
if err != nil {
bwu.w.nc.GetLogger().Error("Error reading %s: %s", statusFile, err)
bwu.w.nc.GetLogger().Error("Watcher Events Error reading %s: %s", statusFile, err)
}
}
case <-time.After(time.Second):
Expand All @@ -444,7 +444,7 @@ loop:
fi = newFi
err = bwu.Load()
if err != nil {
bwu.w.nc.GetLogger().Error("Error reading %s: %s", statusFile, err)
bwu.w.nc.GetLogger().Error("Work unit load Error reading %s: %s", statusFile, err)
}
}
case err, ok := <-watcherErrors:
Expand Down

0 comments on commit 4d007a3

Please sign in to comment.