Skip to content

Commit e111140

Browse files
shelley.besscehoffman
authored andcommitted
Remove exported value
Signed-off-by: shelley.bess <[email protected]>
1 parent 1b55c18 commit e111140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/resource_gitlab_project_membership_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ type testAccGitlabProjectMembershipExpectedAttributes struct {
8181
access_level string
8282
}
8383

84-
var AccessLevel = map[gitlab.AccessLevelValue]string{
84+
var accessLevel = map[gitlab.AccessLevelValue]string{
8585
gitlab.GuestPermissions: "guest",
8686
gitlab.ReporterPermissions: "reporter",
8787
gitlab.DeveloperPermissions: "developer",
@@ -92,7 +92,7 @@ var AccessLevel = map[gitlab.AccessLevelValue]string{
9292
func testAccCheckGitlabProjectMembershipAttributes(membership *gitlab.ProjectMember, want *testAccGitlabProjectMembershipExpectedAttributes) resource.TestCheckFunc {
9393
return func(s *terraform.State) error {
9494

95-
access_level_id, ok := AccessLevel[membership.AccessLevel]
95+
access_level_id, ok := accessLevel[membership.AccessLevel]
9696
if !ok {
9797
return fmt.Errorf("Invalid access level '%s'", access_level_id)
9898
}

0 commit comments

Comments
 (0)