fix bug: component check

pull/2054/head
skiffer-git 2 years ago
parent a66681be43
commit 06a944d2e1

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

Loading…
Cancel
Save