libnet/pm: log when stopping userland proxy

Signed-off-by: Albin Kerouanton <albin.kerouanton@docker.com>
This commit is contained in:
Albin Kerouanton
2025-11-28 16:14:35 +01:00
parent 52fae09ec0
commit 310aa9241a

View File

@@ -135,6 +135,7 @@ func StartProxy(pb types.PortBinding,
return nil
}
stopped.Store(true)
log.G(context.Background()).WithField("pb", pb).Debug("Stopping userland proxy")
if err := cmd.Process.Signal(os.Interrupt); err != nil {
return err
}