That was silly...passing ensure-connection a message.

This commit is contained in:
niten 2022-03-09 13:51:34 -08:00
parent 14410e68a4
commit b77d6a294a
2 changed files with 3 additions and 4 deletions

View File

@ -52,9 +52,8 @@
(defmethod backplane-server:handle-message ((message dns-request))
(handler-case
(if-let ((store *dns-store*))
(if-let ((store (ensure-connection *dns-store*)))
(-> message
(backplane-dns-store:ensure-connection store)
(handle-dns-message store)
(handle-dns-response (msg-id message)))
(make-error :msg "dns store is not initialized"

View File

@ -19,8 +19,8 @@
#:missing-domain
#:invalid-ip
#:domain-name-missing
#:error-msg)
#:error-msg
#:ensure-connection)
(:export #:start-listener-with-env
#:backplane-dns-listen
#:parse-message