Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko committed Jul 17, 2024
1 parent 5e30296 commit 289f822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"database/sql"
"flag"
"fmt"
mist_balancer "github.com/livepeer/catalyst-api/balancer/mist"
"log"
"net/http"
"os"
Expand All @@ -22,6 +21,7 @@ import (
"github.com/livepeer/catalyst-api/api"
"github.com/livepeer/catalyst-api/balancer"
"github.com/livepeer/catalyst-api/balancer/catabalancer"
mist_balancer "github.com/livepeer/catalyst-api/balancer/mist"
"github.com/livepeer/catalyst-api/c2pa"
"github.com/livepeer/catalyst-api/clients"
"github.com/livepeer/catalyst-api/cluster"
Expand Down Expand Up @@ -84,7 +84,7 @@ func main() {
fs.DurationVar(&cli.CataBalancerIngestStreamTimeout, "catabalancer-ingest-stream-timeout", 20*time.Minute, "Catabalancer timeout for ingest stream metrics")
config.CommaSliceFlag(fs, &cli.BlockedJWTs, "gate-blocked-jwts", []string{}, "List of blocked JWTs for token gating")

// mist-api-connector parameters=
// mist-api-connector parameters
fs.IntVar(&cli.MistPort, "mist-port", 4242, "Port to connect to Mist")
fs.StringVar(&cli.MistHost, "mist-host", "127.0.0.1", "Hostname of the Mist server")
fs.StringVar(&cli.MistUser, "mist-user", "", "username of MistServer")
Expand Down

0 comments on commit 289f822

Please sign in to comment.