minor cleanup

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
Laura Brehm 2025-02-06 14:16:45 +01:00
parent 85a77af591
commit 76e0088b5c
No known key found for this signature in database
GPG Key ID: 08EC1B0491948487

View File

@ -37,12 +37,9 @@ func (e errCtxSignalTerminated) Error() string {
}
func main() {
ctx := context.Background()
err := dockerMain(ctx)
err := dockerMain(context.Background())
if errors.As(err, &errCtxSignalTerminated{}) {
os.Exit(getExitCode(err))
return
}
if err != nil && !errdefs.IsCancelled(err) {