fix bug: component check

pull/2054/head
skiffer-git 2 years ago
parent 57a5375c99
commit a9c4c4c565

@ -101,13 +101,13 @@ func main() {
if !check.flag { if !check.flag {
err = check.function(check.config) err = check.function(check.config)
if err != nil { if err != nil {
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) ||
errors.Is(err, errApiURL) { errors.Is(err, errApiURL) {
fmt.Fprintf(os.Stderr, err.Error(), " check ", check.name) fmt.Fprintf(os.Stderr, err.Error(), " check ", check.name)
checks[index].flag = true checks[index].flag = true
allSuccess = false
continue continue
} }

Loading…
Cancel
Save