From 83bb1791b423c3dd0f34c1f546ad42e38b2cb68c Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Tue, 30 Jul 2019 18:10:01 -0400 Subject: [PATCH] disable db for migration --- cmd/reflector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/reflector.go b/cmd/reflector.go index 34fe4ba..0e8531b 100644 --- a/cmd/reflector.go +++ b/cmd/reflector.go @@ -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)