Skip to content

Commit 376cb7d

Browse files
Shani ErmanShani Erman
authored andcommitted
d
1 parent 77e0ef2 commit 376cb7d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

aquasec/utils.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ package aquasec
33
import (
44
"encoding/json"
55
"fmt"
6+
os "os"
7+
"strings"
8+
69
"github.com/aquasecurity/terraform-provider-aquasec/client"
710
"github.com/aquasecurity/terraform-provider-aquasec/consts"
811
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
9-
os "os"
10-
"strings"
1112
)
1213

1314
func convertStringArr(ifaceArr []interface{}) []string {
@@ -242,8 +243,6 @@ func isResourceExist(response string) bool {
242243
}
243244
}
244245

245-
246-
247246
func validateSaasResourceWarning(legacyResource, newResource string) schema.SchemaValidateFunc {
248247
return func(val interface{}, key string) ([]string, []error) {
249248
if isSaasEnv() {
@@ -256,4 +255,4 @@ func validateSaasResourceWarning(legacyResource, newResource string) schema.Sche
256255
}
257256
return nil, nil
258257
}
259-
}
258+
}

0 commit comments

Comments
 (0)