Skip to content

Commit

Permalink
Revert removal of dynamic Mist trigger setup
Browse files Browse the repository at this point in the history
This broke catalyst E2E Tests. I plan to fix it later, but for now let's revert this removal
  • Loading branch information
leszko committed Aug 22, 2024
1 parent ea35128 commit de17642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/misttriggers/trigger_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package misttriggers
import (
"context"
"fmt"
"github.com/livepeer/catalyst-api/clients"
"sync"

"github.com/golang/glog"
"github.com/livepeer/catalyst-api/clients"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func main() {
if cli.IsClusterMode() {
// Configure Mist Triggers
if cli.MistEnabled && cli.MistTriggerSetup {
mistTriggerHandlerEndpoint := fmt.Sprintf("%s/api/mist/trigger", catalystApiURL)
mistTriggerHandlerEndpoint := fmt.Sprintf("%s/api/mist/trigger", cli.OwnInternalURL())
err := broker.SetupMistTriggers(mist, mistTriggerHandlerEndpoint)
if err != nil {
glog.Error("catalyst-api was unable to communicate with MistServer to set up its triggers.")
Expand Down

0 comments on commit de17642

Please sign in to comment.