diff --git a/ironic/common/wsgi_service.py b/ironic/common/wsgi_service.py index abfe4b1f2c..bd7957a530 100644 --- a/ironic/common/wsgi_service.py +++ b/ironic/common/wsgi_service.py @@ -76,7 +76,7 @@ class WSGIService(service.ServiceBase): """ self.server.stop() if CONF.api.unix_socket: - il_utils.unlink_without_raise(CONF.unix_socket) + il_utils.unlink_without_raise(CONF.api.unix_socket) def wait(self): """Wait for the service to stop serving this API.