Skip to content

Commit

Permalink
DefaultContextHandler => HTTPContextHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursnerdly committed Dec 9, 2024
1 parent 4b5b8aa commit 486d873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cyral/internal/policyset/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/cyralinc/terraform-provider-cyral/cyral/core/types/resourcetype"
)

var dsContextHandler = core.DefaultContextHandler{
var dsContextHandler = core.HTTPContextHandler{
ResourceName: dataSourceName,
ResourceType: resourcetype.DataSource,
SchemaWriterFactoryGetMethod: func(_ *schema.ResourceData) core.SchemaWriter { return &PolicySet{} },
Expand Down
2 changes: 1 addition & 1 deletion cyral/internal/policyset/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/cyralinc/terraform-provider-cyral/cyral/core/types/resourcetype"
)

var resourceContextHandler = core.DefaultContextHandler{
var resourceContextHandler = core.HTTPContextHandler{
ResourceName: resourceName,
ResourceType: resourcetype.Resource,
SchemaReaderFactory: func() core.SchemaReader { return &PolicySet{} },
Expand Down

0 comments on commit 486d873

Please sign in to comment.