Fix ensure-connection
This commit is contained in:
parent
28496c9dfb
commit
14410e68a4
|
@ -143,7 +143,7 @@
|
||||||
(replace-records domain name "SSHFP" new-sshfps)))
|
(replace-records domain name "SSHFP" new-sshfps)))
|
||||||
|
|
||||||
(defmethod ensure-connection ((store postgres-dns-store))
|
(defmethod ensure-connection ((store postgres-dns-store))
|
||||||
(let ((db postmodern:*database*))
|
(let ((conn postmodern:*database*))
|
||||||
(when (not (connected-p conn))
|
(when (not (connected-p conn))
|
||||||
(reconnect conn))
|
(reconnect conn))
|
||||||
store))
|
store))
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
#:update-dao
|
#:update-dao
|
||||||
#:insert-dao
|
#:insert-dao
|
||||||
#:delete-dao
|
#:delete-dao
|
||||||
#:with-transaction)
|
#:with-transaction
|
||||||
|
#:connected-p
|
||||||
|
#:reconnect)
|
||||||
|
|
||||||
(:export #:postgres-dns-store
|
(:export #:postgres-dns-store
|
||||||
#:invalid-ip
|
#:invalid-ip
|
||||||
|
|
Loading…
Reference in New Issue