set-difference order meant it skipped if none existed
This commit is contained in:
parent
8f1de937f5
commit
543df72f39
|
@ -194,7 +194,7 @@
|
||||||
(:= 'domain-id domain-id)
|
(:= 'domain-id domain-id)
|
||||||
(:= 'type "SSHFP"))))
|
(:= 'type "SSHFP"))))
|
||||||
(existing-sshfps (mapcar #'record-content sshfp-records)))
|
(existing-sshfps (mapcar #'record-content sshfp-records)))
|
||||||
(if (not (set-difference existing-sshfps new-sshfps))
|
(if (not (set-difference new-sshfps existing-sshfps))
|
||||||
t
|
t
|
||||||
(with-transaction ()
|
(with-transaction ()
|
||||||
(dolist (record sshfp-records)
|
(dolist (record sshfp-records)
|
||||||
|
|
Loading…
Reference in New Issue