Skip to content

Commit 29a8bba

Browse files
committed
Fix linter.
1 parent 213349a commit 29a8bba

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ linters:
6868
- durationcheck # check for two durations multiplied together
6969
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13.
7070
- exhaustive # check exhaustiveness of enum switch statements
71-
- exportloopref # checks for pointers to enclosing loop variables
7271
- forbidigo # Forbids identifiers
7372
- gochecknoinits # Checks that no init functions are present in Go code
7473
- goconst # Finds repeated strings that could be replaced by a constant

pkg/connector/user.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ const (
4141
attrUserAccountControl = "userAccountControl"
4242
attrUserLastLogon = "lastLogonTimestamp"
4343

44-
// FreeIPA (Red Hat Identity) specific attributes
45-
attrNSAccountLock = "nsAccountLock"
44+
// FreeIPA (Red Hat Identity) specific attributes.
45+
attrNSAccountLock = "nsAccountLock"
4646
)
4747

4848
var allAttrs = []string{"*", "+"}

0 commit comments

Comments
 (0)