Skip to content

Commit

Permalink
updated to v4 need to fix all files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmfwolf committed Aug 7, 2023
1 parent 8202f6c commit c7421fd
Show file tree
Hide file tree
Showing 57 changed files with 100 additions and 100 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If you are sideloading this provider (i.e. not getting this via the Terraform st

# Shipping Code
### Development
1. Adding a new resource generally requires that service to be defined in the [OneLogin SDK](https://github.com/onelogin/onelogin-go-sdk) see `AppsService` for an example.
1. Adding a new resource generally requires that service to be defined in the [OneLogin SDK](https://github.com/onelogin/onelogin-go-sdk/v4) see `AppsService` for an example.

2. Define the new resource in `onelogin/provider.go` in a similar fashion to how the other resources are identified there.

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module github.com/onelogin/terraform-provider-onelogin

go 1.12
go 1.18

require (
github.com/fatih/color v1.12.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.2.1
github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.3
github.com/mattn/go-isatty v0.0.13 // indirect
github.com/onelogin/onelogin-go-sdk v1.1.20
github.com/onelogin/onelogin-go-sdk/v4 v4
github.com/stretchr/testify v1.7.0
golang.org/x/sys v0.0.0-20210608053332-aa57babbf139 // indirect
golang.org/x/text v0.3.6 // indirect; indirectgithub.com/hashicorp/terraform-plugin-sdk/v2 v2.4.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k
github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs=
github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw=
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
github.com/onelogin/onelogin-go-sdk v1.1.20 h1:E3cIyZ9q9DNLv0PtFRT/d7BQtaiaiCpIfGdCgzLB6FU=
github.com/onelogin/onelogin-go-sdk v1.1.20/go.mod h1:GM0+ziS1fhnPnxC2fLzVloxn+VzBwzXKkIaDOPoE5GU=
github.com/onelogin/onelogin-go-sdk/v4 v1.1.20 h1:E3cIyZ9q9DNLv0PtFRT/d7BQtaiaiCpIfGdCgzLB6FU=
github.com/onelogin/onelogin-go-sdk/v4 v1.1.20/go.mod h1:GM0+ziS1fhnPnxC2fLzVloxn+VzBwzXKkIaDOPoE5GU=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
Expand Down
2 changes: 1 addition & 1 deletion ol_schema/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strconv"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/onelogin/models" // Replace with the new SDK package path
"github.com/onelogin/onelogin-go-sdk/v4/v4/pkg/onelogin/models" // Replace with the new SDK package path
)

// Schema returns a key/value map of the various fields that make up an App at OneLogin.
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package appconfigurationschema
import (
"strconv"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
"github.com/onelogin/terraform-provider-onelogin/utils"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/configuration/configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/parameters/parameter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package appparametersschema

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
)

// Schema returns a key/value map of the various fields that make up
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/parameters/parameter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package appparametersschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/provisioning/provisioning.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package appprovisioningschema

import (
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
)

// Inflate takes a key/value map of interfaces and uses the fields to construct
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/provisioning/provisioning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package appprovisioningschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/app/sso/sso_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package appssoschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/apps"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/auth_server/auth_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strconv"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
authservers "github.com/onelogin/onelogin-go-sdk/pkg/services/auth_servers"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
authservers "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/auth_servers"
authserverconfigurationschema "github.com/onelogin/terraform-provider-onelogin/ol_schema/auth_server/configuration"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/auth_server/auth_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package authserverschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/auth_servers"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/auth_servers"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/auth_server/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package authserverconfigurationschema

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
authservers "github.com/onelogin/onelogin-go-sdk/pkg/services/auth_servers"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
authservers "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/auth_servers"
)

// Schema returns a key/value map of the various fields that make up the Rules of a OneLogin App.
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/auth_server/configuration/configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package authserverconfigurationschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/auth_servers"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/auth_servers"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/privilege/privilege.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/privileges"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/privileges"
)

// Schema returns a key/value map of the various fields that make up an App at OneLogin.
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/privilege/privilege_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/privileges"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/privileges"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/role/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strconv"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/roles"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/roles"
)

// Schema returns a key/value map of the various fields that make up a OneLogin User.
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/role/role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/roles"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/roles"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/rules/actions/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/pkg/services/apps/app_rules"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps/app_rules"
)

const NO_EXPRESSION_SUFFIX = "_from_existing"
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/rules/actions/actions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/pkg/services/apps/app_rules"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps/app_rules"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/rules/conditions/conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package appruleconditionsschema
import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/pkg/services/apps/app_rules"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps/app_rules"
)

// Schema returns a key/value map of the various fields that make up the Actions of a OneLogin Rule.
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/rules/conditions/conditions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package appruleconditionsschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/pkg/services/apps/app_rules"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps/app_rules"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/rules/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strconv"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/pkg/services/apps/app_rules"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps/app_rules"
appruleactionsschema "github.com/onelogin/terraform-provider-onelogin/ol_schema/rules/actions"
appruleconditionsschema "github.com/onelogin/terraform-provider-onelogin/ol_schema/rules/conditions"
"github.com/onelogin/terraform-provider-onelogin/utils"
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/rules/rules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/pkg/services/apps/app_rules"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
apprules "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/apps/app_rules"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/smarthook/conditions/conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package smarthookconditionsschema

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks"
)

// Schema returns a key/value map of the various fields that make up the Actions of a OneLogin SmartHook.
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/smarthook/conditions/conditions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package smarthookconditionsschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks"
"github.com/stretchr/testify/assert"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package smarthookenvironmentvariablesschema
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks/envs"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks/envs"
"github.com/stretchr/testify/assert"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package smarthookenvironmentvariablesschema

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
smarthookenvs "github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks/envs"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
smarthookenvs "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks/envs"
)

// Schema returns a key/value map of the various fields that make up the Rules of a OneLogin App.
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/smarthook/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package smarthookoptions

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks"
)

// Schema returns a key/value map of the various fields that make up
Expand Down
4 changes: 2 additions & 2 deletions ol_schema/smarthook/options/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package smarthookoptions
import (
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions ol_schema/smarthook/smarthook.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package smarthooksschema

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks"
smarthookenvs "github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks/envs"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks"
smarthookenvs "github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks/envs"
smarthookconditionsschema "github.com/onelogin/terraform-provider-onelogin/ol_schema/smarthook/conditions"
smarthookoptions "github.com/onelogin/terraform-provider-onelogin/ol_schema/smarthook/options"
"github.com/onelogin/terraform-provider-onelogin/utils"
Expand Down
6 changes: 3 additions & 3 deletions ol_schema/smarthook/smarthook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"testing"

"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks"
"github.com/onelogin/onelogin-go-sdk/pkg/services/smarthooks/envs"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/smarthooks/envs"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions ol_schema/user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/onelogin/onelogin-go-sdk/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/pkg/services/users"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/oltypes"
"github.com/onelogin/onelogin-go-sdk/v4/pkg/services/users"
)

// Schema returns a key/value map of the various fields that make up a OneLogin User.
Expand Down
Loading

0 comments on commit c7421fd

Please sign in to comment.