mirror of
https://github.com/moby/moby.git
synced 2026-08-07 00:21:52 +00:00
libcontainerd/supervisor: platformCleanup(): use canonical socket address
Consider Address() (Config.GRPC.Addres) to be the source of truth for the location of the containerd socket. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -55,5 +55,5 @@ func (r *remote) killDaemon() {
|
||||
}
|
||||
|
||||
func (r *remote) platformCleanup() {
|
||||
os.Remove(filepath.Join(r.stateDir, sockFile))
|
||||
_ = os.Remove(r.Address())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user