From 8d2c4932e8feacc431ac987c04a7aa40d3051f41 Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Fri, 30 Aug 2024 15:22:18 +0800 Subject: [PATCH] fix: block check if healthcheck fails --- internal/stage/run.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/stage/run.go b/internal/stage/run.go index 670f666..da0828c 100644 --- a/internal/stage/run.go +++ b/internal/stage/run.go @@ -38,6 +38,9 @@ func Run(stages []Stage) []StageResult { ForceQuit: forceQuit, }) if forceQuit { + if stage.Name == "healthcheck" { + return stageResults + } break } }