make db-backed store more generic (not specific to s3)

This commit is contained in:
Alex Grintsvayg 2019-10-03 16:58:17 -04:00
parent 69f1e0f4ca
commit 661c20a21d
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5
6 changed files with 28 additions and 28 deletions

View file

@ -56,7 +56,7 @@ func startCmd(cmd *cobra.Command, args []string) {
err := db.Connect(globalConfig.DBConn)
checkErr(err)
s3 := store.NewS3BlobStore(globalConfig.AwsID, globalConfig.AwsSecret, globalConfig.BucketRegion, globalConfig.BucketName)
comboStore := store.NewDBBackedS3Store(s3, db)
comboStore := store.NewDBBackedStore(s3, db)
conf := prism.DefaultConf()