diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 13:55:22 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-02 13:55:22 -0700 |
commit | 8f8c59341e7f420397f79d47af2787ca55fba07b (patch) | |
tree | 390981a20f68b80fba529f1269154c26d4494629 /src/connection | |
parent | f0aa90746c39bff31135eef4d53156d13543aaca (diff) | |
download | consfigurator-8f8c59341e7f420397f79d47af2787ca55fba07b.tar.gz |
rename CONNECTION-TEARDOWN -> CONNECTION-TEAR-DOWN
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection')
-rw-r--r-- | src/connection/chroot.lisp | 2 | ||||
-rw-r--r-- | src/connection/sudo.lisp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/connection/chroot.lisp b/src/connection/chroot.lisp index e2aa10c..b681e48 100644 --- a/src/connection/chroot.lisp +++ b/src/connection/chroot.lisp @@ -147,7 +147,7 @@ should be the mount point, without the chroot's root prefixed.") (format nil "chroot ~A sh -c ~A" (sh-escape (slot-value connection 'into)) (sh-escape cmd))) -(defmethod connection-teardown :before ((connection shell-chroot-connection)) +(defmethod connection-tear-down :before ((connection shell-chroot-connection)) (dolist (mount (chroot-mounts connection)) ;; There shouldn't be any processes left running in the chroot after we've ;; finished deploying it, but it's quite easy to end up with things like diff --git a/src/connection/sudo.lisp b/src/connection/sudo.lisp index b8c7731..a8fa3dc 100644 --- a/src/connection/sudo.lisp +++ b/src/connection/sudo.lisp @@ -70,7 +70,7 @@ (string (code-char 13))) :mode #o600))))) -(defmethod connection-teardown :after ((connection sudo-connection)) +(defmethod connection-tear-down :after ((connection sudo-connection)) (when-let ((file (slot-value connection 'password-file))) (delete-remote-trees file))) |