Skip to content

Commit

Permalink
Rename package policyv2 to policy
Browse files Browse the repository at this point in the history
  • Loading branch information
wcmjunior committed Dec 18, 2024
1 parent 791d7d8 commit 42f95ef
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package policyv2
package policy

const (
resourceName = "cyral_policy_v2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package policyv2
package policy

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package policyv2
package policy

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package policyv2
package policy

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package policyv2_test
package policy_test

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package policyv2
package policy

import "github.com/cyralinc/terraform-provider-cyral/cyral/core"

Expand Down
4 changes: 2 additions & 2 deletions cyral/provider/schema_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
integration_slack "github.com/cyralinc/terraform-provider-cyral/cyral/internal/integration/slack"
integration_teams "github.com/cyralinc/terraform-provider-cyral/cyral/internal/integration/teams"
"github.com/cyralinc/terraform-provider-cyral/cyral/internal/permission"
"github.com/cyralinc/terraform-provider-cyral/cyral/internal/policy"
policyset "github.com/cyralinc/terraform-provider-cyral/cyral/internal/policy/set"
policyv2 "github.com/cyralinc/terraform-provider-cyral/cyral/internal/policy/v2"
policywizard "github.com/cyralinc/terraform-provider-cyral/cyral/internal/policy/wizard"
"github.com/cyralinc/terraform-provider-cyral/cyral/internal/regopolicy"
"github.com/cyralinc/terraform-provider-cyral/cyral/internal/repository"
Expand Down Expand Up @@ -57,7 +57,7 @@ func packagesSchemas() []core.PackageSchema {
integration_slack.PackageSchema(),
integration_teams.PackageSchema(),
permission.PackageSchema(),
policyv2.PackageSchema(),
policy.PackageSchema(),
policyset.PackageSchema(),
policywizard.PackageSchema(),
regopolicy.PackageSchema(),
Expand Down

0 comments on commit 42f95ef

Please sign in to comment.