mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 13:22:11 +08:00
fix bug: component check
This commit is contained in:
parent
57a5375c99
commit
a9c4c4c565
@ -101,13 +101,13 @@ func main() {
|
||||
if !check.flag {
|
||||
err = check.function(check.config)
|
||||
if err != nil {
|
||||
|
||||
if check.name == "Minio" {
|
||||
if errors.Is(err, errMinioNotEnabled) ||
|
||||
errors.Is(err, errSignEndPoint) ||
|
||||
errors.Is(err, errApiURL) {
|
||||
fmt.Fprintf(os.Stderr, err.Error(), " check ", check.name)
|
||||
checks[index].flag = true
|
||||
allSuccess = false
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user