diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-28 14:17:47 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-29 08:43:57 -0700 |
commit | 19d02c44af576e8c43229091308f5ef218917c28 (patch) | |
tree | 088a74a7d74747866017777814acf45704055764 /src/deployment.lisp | |
parent | 451b63e0481090813d060d231a0fee30c125eb30 (diff) | |
download | consfigurator-19d02c44af576e8c43229091308f5ef218917c28.tar.gz |
add optional HOST arg to some accessors for hostattrs
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/deployment.lisp')
-rw-r--r-- | src/deployment.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deployment.lisp b/src/deployment.lisp index 18c9ff0..226c55d 100644 --- a/src/deployment.lisp +++ b/src/deployment.lisp @@ -305,7 +305,7 @@ different user." (setf (getf (slot-value host 'hostattrs) :data) nil) (setq host (preprocess-host host)) (doplist (k v (hostattrs host)) - (loop with root = (getf (hostattrs *host*) k) + (loop with root = (get-hostattrs k) for cell on v until (eq cell root) collect (car cell) into accum finally (apply #'push-hostattrs k (nreverse accum)))) @@ -323,7 +323,7 @@ different user." (defun %propagate-hostattrs (host) (dolist (system (propspec-systems (host-propspec host))) (pushnew system (slot-value (host-propspec *host*) 'systems))) - (dolist (attr (getf (hostattrs host) :data)) + (dolist (attr (get-hostattrs :data host)) (push-hostattrs :data attr))) (defprop evals :posix (&rest forms) |