Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Adjust node_type check for get ami #101

Merged
merged 3 commits into from
Apr 1, 2023

Conversation

mbeacom
Copy link
Contributor

@mbeacom mbeacom commented Apr 1, 2023

Summary

The goal of this PR is to resolve the node_type issue missing windows comparison for various distributions.

Resolves: #100

Changes

Modifies the node_type check to match on varying windows distributions versus explicitly == windows

User experience

Resolves failure to determine AMI.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@mbeacom mbeacom requested a review from a team April 1, 2023 02:51
@mbeacom mbeacom self-assigned this Apr 1, 2023
@mbeacom mbeacom requested a review from quixoticmonk April 1, 2023 02:52
@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2023

Codecov Report

Patch coverage: 20.00% and no project coverage change.

Comparison is base (c5e406b) 27.55% compared to head (cebf696) 27.55%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #101   +/-   ##
=======================================
  Coverage   27.55%   27.55%           
=======================================
  Files          14       14           
  Lines        1938     1938           
=======================================
  Hits          534      534           
  Misses       1404     1404           
Impacted Files Coverage Δ
eksupgrade/src/eks_get_image_type.py 14.28% <0.00%> (ø)
eksupgrade/__init__.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mbeacom mbeacom requested a review from quixoticmonk April 1, 2023 03:34
@mbeacom mbeacom added the bug-fix Bug Fix label Apr 1, 2023
@mbeacom mbeacom requested a review from a team April 1, 2023 03:42
Copy link
Contributor

@quixoticmonk quixoticmonk left a comment

Choose a reason for hiding this comment

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

Thank you for fixing the ami check.

@mbeacom mbeacom merged commit 56ccabe into aws-samples:main Apr 1, 2023
@mbeacom mbeacom deleted the release-082 branch April 1, 2023 04:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug-fix Bug Fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Windows instances error with unsupported type
3 participants