mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: fix the eror
This commit is contained in:
parent
6c6eef8b0e
commit
5c93cb7aa3
@ -41,7 +41,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Start(config *config.GlobalConfig, client discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) error {
|
func Start(config *config.GlobalConfig, client discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) error {
|
||||||
log.ZDebug(context.Background(), "config19999999999999999999999999999999999", config)
|
log.ZDebug(context.Background(), "config19999999999999999999999999999999999", config, "javadfdas")
|
||||||
|
|
||||||
mongo, err := unrelation.NewMongo(config)
|
mongo, err := unrelation.NewMongo(config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@ -137,7 +137,7 @@ func (m *Minio) initMinio(ctx context.Context) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
conf := m.config.Object.Minio
|
conf := m.config.Object.Minio
|
||||||
log.ZDebug(ctx, "conf!11111111111111111111111111111111111111111111111111111111111111111111111111111", conf.Bucket)
|
log.ZDebug(ctx, "conf!11111111111111111111111111111111111111111111111111111111111111111111111111111", conf.Bucket, "openopen")
|
||||||
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