Skip to content

Commit 79fdc57

Browse files
committed
chore: hardcode retries
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
1 parent 3e896c5 commit 79fdc57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/docker/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ func tryPluginRun(ctx context.Context, dockerCli command.Cli, cmd *cobra.Command
280280
// final attempt to terminate, and exit.
281281
retries++
282282
if retries >= exitLimit {
283-
_, _ = fmt.Fprintf(dockerCli.Err(), "got %d SIGTERM/SIGINTs, forcefully exiting\n", retries)
283+
_, _ = fmt.Fprint(dockerCli.Err(), "got 3 SIGTERM/SIGINTs, forcefully exiting\n")
284284
_ = plugincmd.Process.Kill()
285285
os.Exit(1)
286286
}

0 commit comments

Comments
 (0)