Skip to content

Commit c597c92

Browse files
fix: wait for provisioner daemon jobs to finish after sigterm (#14466)
1 parent 839918c commit c597c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/cli/provisionerdaemonstart.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ func (r *RootCmd) provisionerDaemonStart() *serpent.Command {
262262
cliui.Errorf(inv.Stderr, "Unexpected error, shutting down server: %s\n", exitErr)
263263
}
264264

265-
err = srv.Shutdown(ctx, waitForProvisionerJobs)
265+
err = srv.Shutdown(ctx, !waitForProvisionerJobs)
266266
if err != nil {
267267
return xerrors.Errorf("shutdown: %w", err)
268268
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy