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:
parent
7b0bd43a27
commit
2d511f28f2
1 changed files with 1 additions and 1 deletions
|
@ -55,5 +55,5 @@ func (r *remote) killDaemon() {
|
|||
}
|
||||
|
||||
func (r *remote) platformCleanup() {
|
||||
os.Remove(filepath.Join(r.stateDir, sockFile))
|
||||
_ = os.Remove(r.Address())
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue