Skip to content

Commit

Permalink
lint: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatrhd committed Feb 25, 2024
1 parent 1f76d15 commit 06245b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/providers/gitlab/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ var (
roleOwner,
}
gitlabRoleMapping = map[string]gitlab.AccessLevelValue{
roleNoAccess: gitlab.AccessLevelValue(gitlab.NoPermissions),
roleNoAccess: gitlab.NoPermissions,
roleMinimalAccess: gitlab.AccessLevelValue(5),
roleGuest: gitlab.AccessLevelValue(gitlab.GuestPermissions),
roleReporter: gitlab.AccessLevelValue(gitlab.ReporterPermissions),
roleDeveloper: gitlab.AccessLevelValue(gitlab.DeveloperPermissions),
roleMaintainer: gitlab.AccessLevelValue(gitlab.MaintainerPermissions),
roleOwner: gitlab.AccessLevelValue(gitlab.OwnerPermissions),
roleGuest: gitlab.GuestPermissions,
roleReporter: gitlab.ReporterPermissions,
roleDeveloper: gitlab.DeveloperPermissions,
roleMaintainer: gitlab.MaintainerPermissions,
roleOwner: gitlab.OwnerPermissions,
}
)

Expand Down

0 comments on commit 06245b7

Please sign in to comment.