aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/container.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-19 15:09:33 +0900
committerOphestra <cat@gensokyo.uk>2026-10-19 15:09:33 +0900
commit58913f00845903aa2068f6cb0778baa563d58d14 (patch)
tree37c6d6e6f5245c6b9c636bef1bcd21373cd48cfa /container/container.go
parent4de395f11996d3c269e4dae1dc5f7de83c2b83e9 (diff)
container/sysctl: remove calls to logger
This behaviour is counterintuitive, the responses are cached, and only the msg object of the first call is used. This change also improves error message formatting of these functions. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/container.go')
-rw-r--r--container/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/container/container.go b/container/container.go
index 3571d04a..6929c652 100644
--- a/container/container.go
+++ b/container/container.go
@@ -231,10 +231,10 @@ func (p *Container) Start() error {
// map to overflow id to work around ownership checks
if p.Uid < 1 {
- p.Uid = OverflowUid(p.msg)
+ p.Uid = OverflowUID()
}
if p.Gid < 1 {
- p.Gid = OverflowGid(p.msg)
+ p.Gid = OverflowGID()
}
if !p.RetainSession {