Skip to content

Commit

Permalink
fix: complie errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Dec 19, 2024
1 parent 581e0f5 commit 8de06bd
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pkg/cloudql/tables/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ package opengovernance

import (
"context"
"github.com/opengovern/opencomply/pkg/cloudql/sdk/config"
"github.com/opengovern/opencomply/pkg/cloudql/sdk/extra/utils"
"github.com/opengovern/opencomply/pkg/cloudql/sdk/extra/view-sync"
"github.com/opengovern/opencomply/services/rego/internal"
"os"

"github.com/opengovern/opencomply/pkg/cloudql/sdk/config"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin/transform"
)
Expand Down Expand Up @@ -36,9 +33,5 @@ func Plugin(ctx context.Context) *plugin.Plugin {
viewSync := view_sync.NewViewSync(extraLogger)
go viewSync.Start(ctx)

if os.Getenv("REGO_ENABLED") == "true" {
go internal.NewRegoEngine(ctx, extraLogger)
}

return p
}

0 comments on commit 8de06bd

Please sign in to comment.