Fix ensure-connection

This commit is contained in:
niten 2022-03-09 13:42:13 -08:00
parent 28496c9dfb
commit 14410e68a4
2 changed files with 4 additions and 2 deletions

View File

@ -143,7 +143,7 @@
(replace-records domain name "SSHFP" new-sshfps)))
(defmethod ensure-connection ((store postgres-dns-store))
(let ((db postmodern:*database*))
(let ((conn postmodern:*database*))
(when (not (connected-p conn))
(reconnect conn))
store))

View File

@ -13,7 +13,9 @@
#:update-dao
#:insert-dao
#:delete-dao
#:with-transaction)
#:with-transaction
#:connected-p
#:reconnect)
(:export #:postgres-dns-store
#:invalid-ip