fix: fix the outpu error

pull/1868/head
luhaoling 2 years ago
parent 7347e67119
commit e4964bb610

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

Loading…
Cancel
Save