enable db

This commit is contained in:
Niko Storni 2019-07-10 20:59:52 +02:00
parent 47425c2c50
commit a2d51cee3d

View file

@ -32,7 +32,7 @@ func reflectorCmd(cmd *cobra.Command, args []string) {
// flip this flag to false when doing db maintenance. uploads will not work (as reflector server wont be running) // flip this flag to false when doing db maintenance. uploads will not work (as reflector server wont be running)
// but downloads will still work straight from s3 // but downloads will still work straight from s3
useDB := false useDB := true
s3 := store.NewS3BlobStore(globalConfig.AwsID, globalConfig.AwsSecret, globalConfig.BucketRegion, globalConfig.BucketName) s3 := store.NewS3BlobStore(globalConfig.AwsID, globalConfig.AwsSecret, globalConfig.BucketRegion, globalConfig.BucketName)