fix bug: component check

pull/2054/head
skiffer-git 2 years ago
parent 20249191a1
commit 58349c3639

@ -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")

Loading…
Cancel
Save