fix bug: component check

pull/2054/head
skiffer-git 2 years ago
parent 48c1c67132
commit aa59180c05

@ -102,7 +102,7 @@ func main() {
err = check.function(check.config)
if err != nil {
allSuccess = false
fmt.Fprintf(os.Stderr, "Check component: %s, failed: %+v", check.name, err)
fmt.Fprintf(os.Stderr, "Check component: %s, failed: %+v", check.name, errs.Unwrap(err).Error())
if check.name == "Minio" {
if errors.Is(err, errMinioNotEnabled) ||
errors.Is(err, errSignEndPoint) ||

Loading…
Cancel
Save