Skip to content

Commit

Permalink
Check for enabled on module container
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Oct 30, 2023
1 parent a9ca6f3 commit 7ac478f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/k16/kl/commands/containers.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)))})

Expand Down

0 comments on commit 7ac478f

Please sign in to comment.