diff --git a/cmd/drone-server/inject_store.go b/cmd/drone-server/inject_store.go index 4685a492..c34aebfb 100644 --- a/cmd/drone-server/inject_store.go +++ b/cmd/drone-server/inject_store.go @@ -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,