Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge recent fixes #25

Merged
merged 12 commits into from
Jan 18, 2020
Merged

Merge recent fixes #25

merged 12 commits into from
Jan 18, 2020

Conversation

nh2
Copy link
Collaborator

@nh2 nh2 commented Jan 18, 2020

With #23 I can help maintaining this library.

This PR merges contributed PRs brought into working order, including:

It also fixes tests (#23) and makes the switch from monad-control to the more modern an easier-to-use unliftio.

nh2 and others added 8 commits July 13, 2019 16:02
`#ifdef` checks for defined-ness, one cannot use it with another
`<710` argument.

Newer GHCs point that out:

    src/Network/Consul/Types.hs:30:0: error:
         warning: extra tokens at end of #ifdef directive
         #ifdef __GLASGOW_HASKELL__ <710
         ^
See added comment.

Fixes test suite failure:

    testRunServiceTtl:           FAIL (15.01s)
      tests/Main.hs:323:
      testRunServiceTtl: Check not passing

that creates consul log messsage:

    [ERR] http: Request GET /v1/agent/check/pass/service:testRunServiceTtl, error: method GET not allowed
Instead, bring up an own instance of consul, and run against that.

Fixes test suite deleting production data when built and tested
on a production machine.
@nh2 nh2 force-pushed the nh2fixes branch 2 times, most recently from 55ef410 to adba2eb Compare January 18, 2020 17:44
@nh2
Copy link
Collaborator Author

nh2 commented Jan 18, 2020

CI is green now.

@nh2 nh2 merged commit ba9b2ad into alphaHeavy:master Jan 18, 2020
@nh2
Copy link
Collaborator Author

nh2 commented Jan 18, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants