fix: fix the outpu error

This commit is contained in:
luhaoling 2024-02-01 18:31:04 +08:00
parent 7347e67119
commit e4964bb610

View File

@ -91,12 +91,11 @@ func main() {
fmt.Printf("Checking components Round %v...\n", i+1)
var (
allSuccess bool
disruptions bool
err error
errInfo string
err error
errInfo string
)
disruptions = true
allSuccess := true
disruptions := true
for _, check := range checks {
errInfo, err = check.function()
if err != nil {