Skip to content

Commit 9dbfe03

Browse files
committed
FreeBSD: solve lint issues
Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent beacfee commit 9dbfe03

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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() {}

libpod/container.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ type Container struct {
107107
runtime *Runtime
108108
ociRuntime OCIRuntime
109109

110-
rootlessPortSyncR *os.File
111-
rootlessPortSyncW *os.File
110+
rootlessPortSyncR *os.File //nolint:unused // Used on Linux for rootless port mapping via RLK
111+
rootlessPortSyncW *os.File //nolint:unused // Used on Linux for rootless port mapping via RLK
112112

113113
// reservedPorts contains the fds for the bound ports when using the
114114
// bridge network mode as root.

0 commit comments

Comments
 (0)