Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tangui-Bitfly committed Nov 15, 2024
1 parent 415c23c commit fc4087e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/cmd/store/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ func main() {
project := args[0]
instance := args[1]
table := args[2]
family := args[3]

bt, err := database.NewBigTable(project, instance, nil)
if err != nil {
panic(err)
}
remote := database.NewRemote(database.Wrap(bt, table, family))
remote := database.NewRemote(database.Wrap(bt, table))
go func() {
logrus.Info("starting remote raw store on port 8087")
if err := http.ListenAndServe("0.0.0.0:8087", remote.Routes()); err != nil && !errors.Is(err, http.ErrServerClosed) {
Expand Down

0 comments on commit fc4087e

Please sign in to comment.