From 7ac478ff405b1312e9f082497c48737dff287732 Mon Sep 17 00:00:00 2001 From: Julien Vincent Date: Mon, 30 Oct 2023 12:00:06 +0000 Subject: [PATCH] Check for enabled on module container --- src/k16/kl/commands/containers.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/k16/kl/commands/containers.clj b/src/k16/kl/commands/containers.clj index a813047..ab77e29 100644 --- a/src/k16/kl/commands/containers.clj +++ b/src/k16/kl/commands/containers.clj @@ -32,7 +32,8 @@ (map (fn [[container-name container]] (merge container {:name (name container-name) - :enabled (get-in state [:containers container-name :enabled] true)}))))] + :enabled (get-in state [:containers container-name :enabled] + (get-in module [:containers container-name :enabled] true))}))))] (pprint/print-table [:name :enabled] containers)))})