fix bug: component check

This commit is contained in:
skiffer-git 2024-03-08 23:51:43 +08:00
parent 20249191a1
commit 58349c3639

View File

@ -119,14 +119,14 @@ func main() {
} }
} }
if allSuccess {
component.SuccessPrint("All components started successfully!")
return
}
} }
component.ErrorPrint("Some components checked failed!") if allSuccess {
os.Exit(-1) component.SuccessPrint("All components started successfully!")
return
}
} }
component.ErrorPrint("Some components checked failed!")
os.Exit(-1)
} }
var errMinioNotEnabled = errors.New("minio.Enable is not configured to use MinIO") var errMinioNotEnabled = errors.New("minio.Enable is not configured to use MinIO")