From 56b9e785e5cbd3de918d50d5d01cdb98fa26b102 Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Fri, 10 Feb 2023 11:51:39 +0000 Subject: [PATCH] build: don't kill remote controller after build We don't know if other builds might be running, etc, so we should allow the server to decide when to exit. Signed-off-by: Justin Chadwell --- commands/build.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commands/build.go b/commands/build.go index cf9612da..9cf8334b 100644 --- a/commands/build.go +++ b/commands/build.go @@ -392,10 +392,6 @@ func launchControllerAndRunBuild(dockerCli command.Cli, options buildOptions) er if err := c.Disconnect(ctx, ref); err != nil { logrus.Warnf("disconnect error: %v", err) } - // If "invoke" isn't specified, further inspection ins't provided. Finish the buildx server. - if err := c.Kill(ctx); err != nil { - return err - } } return nil }