Skip to content

Commit 17c5200

Browse files
committed
Remove nolint comments which are not necessary with golangci-lint v1.64.4
1 parent 1b14c70 commit 17c5200

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

cmd/authd/daemon/export_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ func GenerateTestConfig(t *testing.T, origConf *daemonConfig) string {
5858
}
5959

6060
// Config returns a DaemonConfig for tests.
61-
//
62-
//nolint:revive // DaemonConfig is a type alias for tests
6361
func (a App) Config() DaemonConfig {
6462
return a.config
6563
}

internal/services/permissions/export_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package permissions
22

33
type PeerCredsInfo = peerCredsInfo
44

5-
//nolint:revive // This is a false positive as we returned a typed alias and not the private type.
65
func NewTestPeerCredsInfo(uid uint32, pid int32) PeerCredsInfo {
76
return PeerCredsInfo{uid: uid, pid: pid}
87
}

0 commit comments

Comments
 (0)