Skip to content

Commit

Permalink
fixing build failure
Browse files Browse the repository at this point in the history
Signed-off-by: Kallol Roy <[email protected]>
  • Loading branch information
kalroy committed Oct 22, 2023
1 parent 72e12ed commit 28eb5bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/compliance-service/compliance.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func setup(ctx context.Context, connFactory *secureconn.Factory, conf config.Com
// set up the scanner, scheduler, and runner servers with needed clients
// these are all inspec-agent packages
scanner := scanner.New(mgrClient, nodesClient, db, conf.FireJailExecProfilePath)
resolver := resolver.New(mgrClient, nodesClient, db, secretsClient)
resolver := resolver.New(mgrClient, nodesClient, db, secretsClient, conf.FireJailExecProfilePath)

err = runner.InitCerealManager(cerealManager, conf.InspecAgent.JobWorkers, ingestClient, scanner, resolver, conf.RemoteInspecVersion)
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ type Resolver struct {
secretsClient secrets.SecretsServiceClient
}

func New(managerClient manager.NodeManagerServiceClient, nodesClient nodes.NodesServiceClient, db *pgdb.DB, secretsClient secrets.SecretsServiceClient) *Resolver {
scannerServer := scanner.New(managerClient, nodesClient, db)
func New(managerClient manager.NodeManagerServiceClient, nodesClient nodes.NodesServiceClient, db *pgdb.DB, secretsClient secrets.SecretsServiceClient, fireJailProfilePath string) *Resolver {
scannerServer := scanner.New(managerClient, nodesClient, db, fireJailProfilePath)
return &Resolver{managerClient, nodesClient, db, scannerServer, secretsClient}
}

Expand Down

0 comments on commit 28eb5bc

Please sign in to comment.