Fix ensure-connection
This commit is contained in:
parent
28496c9dfb
commit
14410e68a4
|
@ -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))
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
#:update-dao
|
||||
#:insert-dao
|
||||
#:delete-dao
|
||||
#:with-transaction)
|
||||
#:with-transaction
|
||||
#:connected-p
|
||||
#:reconnect)
|
||||
|
||||
(:export #:postgres-dns-store
|
||||
#:invalid-ip
|
||||
|
|
Loading…
Reference in New Issue