diff --git a/src/Dockmaster/Parser.hs b/src/Dockmaster/Parser.hs index e219c51..3fa687c 100644 --- a/src/Dockmaster/Parser.hs +++ b/src/Dockmaster/Parser.hs @@ -50,7 +50,7 @@ hookWrap' cfg dcCmd action = do -- Gather command configuration hooks/pass-through let cmdCfg = lookup dcCmd $ dmCommands cfg pre = maybe [] ccPreHooks cmdCfg - post = maybe [] ccPreHooks cmdCfg + post = maybe [] ccPostHooks cmdCfg pass = maybe True ccCompose cmdCfg mapM_ execHook pre -- Exec pre hooks when pass action -- Exec docker-compose (unless pass-through = false)