make db-backed store more generic (not specific to s3)
This commit is contained in:
parent
69f1e0f4ca
commit
661c20a21d
6 changed files with 28 additions and 28 deletions
cmd
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue