Skip to content

Commit

Permalink
move idSeparator to const file
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Jun 12, 2023
1 parent e37af24 commit b4ac48a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions internal/service/opensearchserverless/access_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ type resourceAccessPolicyData struct {
}

const (
ResNameAccessPolicy = "Access Policy"
accessPolicyIDSeparator = "/"
ResNameAccessPolicy = "Access Policy"
)

type resourceAccessPolicy struct {
Expand Down
3 changes: 3 additions & 0 deletions internal/service/opensearchserverless/const.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package opensearchserverless

const idSeparator = "/"
1 change: 0 additions & 1 deletion internal/service/opensearchserverless/security_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ type resourceSecurityPolicyData struct {

const (
ResNameSecurityPolicy = "Security Policy"
idSeparator = "/"
)

type resourceSecurityPolicy struct {
Expand Down

0 comments on commit b4ac48a

Please sign in to comment.