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

Fix a bug in handling Nomad job types incorrectly. #32

Merged
merged 1 commit into from
Nov 13, 2017
Merged

Conversation

jrasell
Copy link
Member

@jrasell jrasell commented Nov 13, 2017

The case statement did not have a default clause when assesssing
the Nomad job type. This caused Levant to panic on some runs as
type is not an explicit type.

The change adds a default case to catch all job types which do not
support deployments.

Closes #31

The case statement did not have a default clause when assesssing
the Nomad job type. This caused Levant to panic on some runs as
type is not an explicit type.

The change adds a default case to catch all job types which do not
support deployments.

Closes #31
@qivers
Copy link

qivers commented Nov 13, 2017

lgtm 👍

@jrasell jrasell merged commit 552ed18 into master Nov 13, 2017
@jrasell jrasell deleted the gh_31 branch November 13, 2017 21:43
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