Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: George Robinson <george.robinson@grafana.com>
  • Loading branch information
grobinson-grafana committed Nov 23, 2023
1 parent 07628c4 commit f2529d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/with_api_v2/acceptance.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,9 @@ func (am *Alertmanager) Terminate() {
if err := syscall.Kill(am.cmd.Process.Pid, syscall.SIGTERM); err != nil {
am.t.Logf("Error sending SIGTERM to Alertmanager process: %v", err)
}
am.cmd.Wait()
if err := am.cmd.Wait(); err != nil {
am.t.Logf("Failed to wait for cmd to exit: %v", err)
}
}

// Reload sends the reloading signal to the Alertmanager instances.
Expand Down

0 comments on commit f2529d0

Please sign in to comment.