disable db for migration

This commit is contained in:
Alex Grintsvayg 2019-07-30 18:10:01 -04:00
parent 3e006f1571
commit 83bb1791b4
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

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)