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,6 +119,7 @@ func main() {
} }
} }
}
if allSuccess { if allSuccess {
component.SuccessPrint("All components started successfully!") component.SuccessPrint("All components started successfully!")
return return
@ -126,7 +127,6 @@ func main() {
} }
component.ErrorPrint("Some components checked failed!") component.ErrorPrint("Some components checked failed!")
os.Exit(-1) 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")