disable db temporarily

This commit is contained in:
Niko Storni 2019-08-08 18:42:46 +02:00
parent 227b362296
commit 5916ab4efd

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 := true useDB := false
s3 := store.NewS3BlobStore(globalConfig.AwsID, globalConfig.AwsSecret, globalConfig.BucketRegion, globalConfig.BucketName) s3 := store.NewS3BlobStore(globalConfig.AwsID, globalConfig.AwsSecret, globalConfig.BucketRegion, globalConfig.BucketName)