Skip to content

Commit

Permalink
Log when no watchers our found.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse committed Sep 14, 2023
1 parent 442fa10 commit 98aa475
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/pkg/agent/install/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ func killWatcher(pt ProgressTrackerStep) error {
if len(pids) == 0 {
if s != nil {
s.Succeeded()
} else {
// step was never started so no watcher was found on first loop
s = pt.StepStart("Stopping upgrade watcher; none found")
s.Succeeded()
}
return nil
}
Expand Down

0 comments on commit 98aa475

Please sign in to comment.