Skip to content

Conversation

@robhoes
Copy link
Member

@robhoes robhoes commented Oct 4, 2016

No description provided.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Copy link
Contributor

@lindig lindig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good in general and I'd merge this. My comments are mostly for discussion.

open V6_interface
open Xcp_client

let retry_econnrefused f =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor thoughts: I would have called this connect and would have used a counter for the retry-loop. Right now you can only retry once but a counter and a limit would be more flexible. Not requesting a change, though.


type debug_info = string

exception Invalid_edition of string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be easier for a client to handle one exception that carries a sum type?

@robhoes robhoes merged commit e6d3f41 into xapi-project:master Oct 5, 2016
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.

2 participants