mirror of
https://github.com/harness/drone.git
synced 2025-05-20 19:09:59 +08:00
fix bucket check
This commit is contained in:
parent
fbd49229f6
commit
e35d63203a
@ -82,7 +82,7 @@ func provideBuildStore(db *db.DB) core.BuildStore {
|
||||
// log datastore, configured from the environment.
|
||||
func provideLogStore(db *db.DB, config config.Config) core.LogStore {
|
||||
s := logs.New(db)
|
||||
if config.S3.Bucket == "" {
|
||||
if config.S3.Bucket != "" {
|
||||
p := logs.NewS3Env(
|
||||
config.S3.Bucket,
|
||||
config.S3.Prefix,
|
||||
|
Loading…
Reference in New Issue
Block a user