fix bucket check

This commit is contained in:
Robert Lippens 2019-08-14 09:54:22 -07:00
parent fbd49229f6
commit e35d63203a
No known key found for this signature in database
GPG key ID: 9984DABBD3F82E8F

View file

@ -82,7 +82,7 @@ func provideBuildStore(db *db.DB) core.BuildStore {
// log datastore, configured from the environment. // log datastore, configured from the environment.
func provideLogStore(db *db.DB, config config.Config) core.LogStore { func provideLogStore(db *db.DB, config config.Config) core.LogStore {
s := logs.New(db) s := logs.New(db)
if config.S3.Bucket == "" { if config.S3.Bucket != "" {
p := logs.NewS3Env( p := logs.NewS3Env(
config.S3.Bucket, config.S3.Bucket,
config.S3.Prefix, config.S3.Prefix,