fix: fix the error

pull/1987/head
luhaoling 2 years ago
parent e1fbda7245
commit 8f3426d61d

@ -138,7 +138,7 @@ 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", "conf", conf.Bucket, "openopen") log.ZDebug(ctx, "conf!11111111111111111111111111111111111111111111111111111111111111111111111111111", m.config, "conf", 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…
Cancel
Save