Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Oct 23, 2023
2 parents a298337 + 84f0797 commit 8824558
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 35 deletions.
3 changes: 3 additions & 0 deletions cmd/kas/kasapp/configured_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ import (
"github.com/pluralsh/kuberentes-agent/internal/tool/retry"
"github.com/pluralsh/kuberentes-agent/internal/tool/tlstool"
"github.com/pluralsh/kuberentes-agent/pkg/kascfg"
pluralclient "github.com/pluralsh/kuberentes-agent/pkg/plural"
)

const (
Expand Down Expand Up @@ -155,6 +156,8 @@ func (a *ConfiguredApp) Run(ctx context.Context) (retErr error) {
errRep := modshared.ApiToErrReporter(srvApi)
grpcServerErrorReporter := &serverErrorReporter{log: a.Log, errReporter: errRep}

pluralclient.New(a.Configuration.PluralToken, "")

// RPC API factory
// Plural: Use fake factory
rpcApiFactory, agentRpcApiFactory := a.constructPluralRpcApiFactory(errRep, sentryHub, redisClient, dt)
Expand Down
Loading

0 comments on commit 8824558

Please sign in to comment.