mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: find error
This commit is contained in:
parent
8f3426d61d
commit
aa22c4b9be
@ -139,6 +139,9 @@ func (m *Minio) initMinio(ctx context.Context) error {
|
|||||||
log.ZDebug(ctx, "conf!11111111111111111111111111111111111111111111111111111111111111111111111111111", m.config, "werqwerqw")
|
log.ZDebug(ctx, "conf!11111111111111111111111111111111111111111111111111111111111111111111111111111", m.config, "werqwerqw")
|
||||||
conf := m.config.Object.Minio
|
conf := m.config.Object.Minio
|
||||||
log.ZDebug(ctx, "conf!11111111111111111111111111111111111111111111111111111111111111111111111111111", m.config, "conf", conf.Bucket, "openopen")
|
log.ZDebug(ctx, "conf!11111111111111111111111111111111111111111111111111111111111111111111111111111", m.config, "conf", conf.Bucket, "openopen")
|
||||||
|
if conf.Bucket != "openim" {
|
||||||
|
log.ZError(ctx, "ppppppppppppppppppppppppppppppp", fmt.Errorf("aaa"))
|
||||||
|
}
|
||||||
exists, err := m.core.Client.BucketExists(ctx, conf.Bucket)
|
exists, err := m.core.Client.BucketExists(ctx, conf.Bucket)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("check bucket exists error: %w", err)
|
return fmt.Errorf("check bucket exists error: %w", err)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user