Skip to content

Commit

Permalink
[supervisor] Do not report error when the process is terminated
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and roboquat committed Apr 27, 2022
1 parent c0c7439 commit 42783dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/supervisor/pkg/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ func socketActivationForDocker(ctx context.Context, wg *sync.WaitGroup, term *te
cancel()
return err
})
if err != nil && !errors.Is(err, context.Canceled) {
if err != nil && !errors.Is(err, context.Canceled) && err.Error() != "signal: killed" {
log.WithError(err).Error("cannot provide Docker activation socket")
}
}
Expand Down

0 comments on commit 42783dc

Please sign in to comment.