Skip to content

Commit

Permalink
Fixes #8530
Browse files Browse the repository at this point in the history
  • Loading branch information
fdurand committed Feb 5, 2025
1 parent 39664d5 commit f2e4497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/connector/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func (c *Connector) init() error {

func (c *Connector) connectorServerApiClient(ctx context.Context) (*unifiedapiclient.Client, error) {
res := redisClient.Get(ctx, fmt.Sprintf("%s%s", redisTunnelsNamespace, c.PfconfigHashNS))
ctx = context.Background()
client := unifiedapiclient.NewFromConfig(ctx)
if s, err := res.Result(); err != nil && err != redis.Nil {
err := fmt.Errorf("Unable to find active tunnel %s via Redis: %s", c.PfconfigHashNS, err)
Expand Down

0 comments on commit f2e4497

Please sign in to comment.