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

Lwt_unix.{Versioned.bind_2 -> bind} #197

Merged
merged 2 commits into from
Jan 30, 2018

Conversation

minishrink
Copy link
Contributor

lib/channel_helpers.ml still uses deprecated Lwt_unix.Versioned.bind_2, causing make test to fail.
This PR updates to Lwt_unix.bind.

Signed-off-by: Akanksha Mathur akanksha.mathur@citrix.com

@lindig
Copy link
Contributor

lindig commented Jan 30, 2018

This needs a better commit message:

Use Lwt.bind instead of Lwt_unix.Versioned.bind_2

Lwt_unix.Versioned.bind_2 is deprecated and causes `make test` in V6 to fail.

@mseri
Copy link
Collaborator

mseri commented Jan 30, 2018

The opam file needs update, use the one in xs-opam: https://github.com/xapi-project/xs-opam/blob/master/packages/xs-extra/xcp.master/opam

Akanksha Mathur added 2 commits January 30, 2018 10:45
Lwt_unix.Versioned.bind_2 is deprecated and causes `make test` to fail.

Signed-off-by: Akanksha Mathur <akanksha.mathur@citrix.com>
Signed-off-by: Akanksha Mathur <akanksha.mathur@citrix.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 54.268% when pulling 11da346 on minishrink:Lwt_bind_upgrade into 79df187 on xapi-project:master.

@mseri
Copy link
Collaborator

mseri commented Jan 30, 2018

The failure is due to missing cstruct-unix required for the tests. Further actions are required in xs-opam and should not prevent merging this PR

@mseri mseri merged commit 2578968 into xapi-project:master Jan 30, 2018
@minishrink minishrink deleted the Lwt_bind_upgrade branch January 31, 2018 13:04
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.

None yet

4 participants