Skip to content
Snippets Groups Projects
Commit 73b16ca1 authored by Iustin Pop's avatar Iustin Pop
Browse files

Annotate confd startup/luxi binding error


The luxi binding is now annotated for better readability.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent e14b84e9
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,8 @@ prepQueryD :: Maybe FilePath -> IO (FilePath, S.Socket)
prepQueryD fpath = do
let socket_path = fromMaybe Path.defaultQuerySocket fpath
cleanupSocket socket_path
s <- getServer socket_path
s <- describeError "binding to the Luxi socket"
Nothing (Just socket_path) $ getServer socket_path
return (socket_path, s)
-- | Main function that runs the query endpoint.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment