Skip to content

Commit 5b7525c

Browse files
committed
FreeBSD: solve lint issues
Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent f411206 commit 5b7525c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ linters:
7373
- linters:
7474
- recvcheck
7575
path: pkg/k8s.io/
76+
- linters:
77+
- unused
78+
text: "(rootlessPortSyncR|rootlessPortSyncW)"
7679

7780
issues:
7881
max-issues-per-linter: 0

cmd/podman/system/service_abi_common.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@
22

33
package system
44

5-
// Currently, we only need servicereaper on Linux to support slirp4netns.
6-
func maybeStartServiceReaper() {
7-
}
8-
95
// There is no cgroup on non linux.
106
func maybeMoveToSubCgroup() {}

0 commit comments

Comments
 (0)