Skip to content

Commit

Permalink
[supervisor] Remove misleading error message
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Aug 20, 2021
1 parent 58f0b33 commit 3a1f0eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/supervisor/pkg/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"crypto/rsa"
"crypto/sha256"
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
Expand Down Expand Up @@ -1142,7 +1143,7 @@ func socketActivationForDocker(ctx context.Context, wg *sync.WaitGroup, term *te
})
return err
})
if err != nil {
if err != nil && !errors.Is(err, context.Canceled) {
log.WithError(err).Error("cannot provide Docker activation socket")
}
}
Expand Down

0 comments on commit 3a1f0eb

Please sign in to comment.