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>
@@ -55,5 +55,5 @@ func (r *remote) killDaemon() {
}
func (r *remote) platformCleanup() {
- os.Remove(filepath.Join(r.stateDir, sockFile))
+ _ = os.Remove(r.Address())