mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to master@8b7bcb900d3c
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
4
vendor/github.com/moby/buildkit/util/appcontext/appcontext.go
generated
vendored
4
vendor/github.com/moby/buildkit/util/appcontext/appcontext.go
generated
vendored
@ -6,7 +6,7 @@ import (
|
||||
"os/signal"
|
||||
"sync"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/moby/buildkit/util/bklog"
|
||||
)
|
||||
|
||||
var appContextCache context.Context
|
||||
@ -36,7 +36,7 @@ func Context() context.Context {
|
||||
cancel()
|
||||
retries++
|
||||
if retries >= exitLimit {
|
||||
logrus.Errorf("got %d SIGTERM/SIGINTs, forcing shutdown", retries)
|
||||
bklog.G(ctx).Errorf("got %d SIGTERM/SIGINTs, forcing shutdown", retries)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user