Skip to content

Commit 6057111

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

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ type Container struct {
107107
runtime *Runtime
108108
ociRuntime OCIRuntime
109109

110+
// nolint:unused // Used on Linux for rootless port mapping via RLK
110111
rootlessPortSyncR *os.File
112+
// nolint:unused // Used on Linux for rootless port mapping via RLK
111113
rootlessPortSyncW *os.File
112114

113115
// reservedPorts contains the fds for the bound ports when using the

0 commit comments

Comments
 (0)