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

Update Levant deployment to inspect the evaluation results. #40

Merged
merged 1 commit into from
Nov 20, 2017

Conversation

jrasell
Copy link
Member

@jrasell jrasell commented Nov 20, 2017

Nomad can return an evaluation which has incurred errors due to
issues such as resource starvation. Previously Levant only
checked whether an actual API error was returned from the
evaluation call which meant errors during this phase were not
caught.

This change implaments an evaluation inspector which iterates
through any errors during an evaluation to provide this feedback
to the user.

Closes #39

Nomad can return an evaluation which has incurred errors due to
issues such as resource starvation. Previously Levant only
checked whether an actual API error was returned from the
evaluation call which meant errors during this phase were not
caught.

This change implaments an evaluation inspector which iterates
through any errors during an evaluation to provide this feedback
to the user.

Closes #39
@jrasell jrasell merged commit c5fbfba into master Nov 20, 2017
@jrasell jrasell deleted the f_gh_39 branch November 21, 2017 10:08
*evalID, evalInfo.Status)

default:
time.Sleep(1 * time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

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

With the eval being fetched outside the loop it seems this is the cause for Levant hanging eternally now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that is dumb. Will fix.

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

2 participants