From f256b24aa87409a599b388f0a7848aa9abecaa7f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 13 Sep 2015 13:35:12 -0400 Subject: avoid brackets --- src/Propellor/Property/Docker.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Propellor/Property/Docker.hs') diff --git a/src/Propellor/Property/Docker.hs b/src/Propellor/Property/Docker.hs index fc12cf8c..8c70b714 100644 --- a/src/Propellor/Property/Docker.hs +++ b/src/Propellor/Property/Docker.hs @@ -630,8 +630,8 @@ data ContainerFilter = RunningContainers | AllContainers -- | Only lists propellor managed containers. listContainers :: ContainerFilter -> IO [ContainerId] listContainers status = - (mapMaybe toContainerId . concatMap (split ",") - . mapMaybe (lastMaybe . words) . lines) + mapMaybe toContainerId . concatMap (split ",") + . mapMaybe (lastMaybe . words) . lines <$> readProcess dockercmd ps where ps -- cgit v1.2.3