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

docker: report unhealthy in unsupported Windows #5356

Merged
merged 2 commits into from
Feb 27, 2019

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Feb 22, 2019

On Windows, Nomad only supports Windows containers, so report as
unhealthy otherwise.

Copy link
Contributor

@endocrimes endocrimes left a comment

Choose a reason for hiding this comment

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

lgtm aside from attr name

drivers/docker/fingerprint.go Outdated Show resolved Hide resolved
Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

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

Is it possible to unit test the fingerprint method?

drivers/docker/fingerprint.go Outdated Show resolved Hide resolved
On Windows, Nomad only supports Windows containers, so report as
unhealthy otherwise.
drivers/docker/fingerprint_test.go Outdated Show resolved Hide resolved
drivers/docker/fingerprint_test.go Outdated Show resolved Hide resolved
Co-Authored-By: notnoop <mahmood@notnoop.com>
@notnoop notnoop merged commit f95749f into master Feb 27, 2019
@endocrimes endocrimes deleted the no-windows-linux-containers branch February 27, 2019 13:12
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants