fix: fix the eror

pull/1987/head
luhaoling 2 years ago
parent 6c6eef8b0e
commit 5c93cb7aa3

@ -41,7 +41,7 @@ import (
)
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)
if err != nil {

@ -137,7 +137,7 @@ func (m *Minio) initMinio(ctx context.Context) error {
return nil
}
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)
if err != nil {
return fmt.Errorf("check bucket exists error: %w", err)

Loading…
Cancel
Save