disable reflector for server replacement

This commit is contained in:
Niko Storni 2019-08-19 19:00:34 +02:00
parent 3823ee7a4e
commit 68caed8a62

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)
// but downloads will still work straight from s3
useDB := true
useDB := false
s3 := store.NewS3BlobStore(globalConfig.AwsID, globalConfig.AwsSecret, globalConfig.BucketRegion, globalConfig.BucketName)