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: Use OS DNS suffix when DNS suffix set in MEBx is empty-like #736

Conversation

ben-krieger
Copy link
Contributor

@ben-krieger ben-krieger commented Jan 15, 2025

Should the OS DNS suffix always be used when the DNS suffix set on AMT via MEBx is an invalid FQDN?

This change currently ignores whitespace and a trailing . to allow "unsetting" in MEBx by setting the DNS suffix to either " " or "." (NOTE: cannot actually set to . in my version of MEBx).

At least in my version of MEBx, setting to "" (an empty string) is not accepted.

@rsdmike rsdmike changed the title Use OS DNS suffix when DNS suffix set in MEBx is empty-like fix: Use OS DNS suffix when DNS suffix set in MEBx is empty-like Jan 15, 2025
ben-krieger and others added 2 commits January 15, 2025 12:41
Bumps golang from `04ec561` to `c233391`.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@ben-krieger ben-krieger force-pushed the use-os-dns-suffix-when-mebx-is-whitespace branch from 4cdb6ed to 32bdb6c Compare January 15, 2025 17:41
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.12%. Comparing base (650935d) to head (7d46f61).
Report is 511 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #736       +/-   ##
===========================================
- Coverage   83.21%   62.12%   -21.10%     
===========================================
  Files          32       45       +13     
  Lines        4265     5660     +1395     
===========================================
- Hits         3549     3516       -33     
- Misses        576     1854     +1278     
- Partials      140      290      +150     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rsdmike rsdmike merged commit e89fd98 into open-amt-cloud-toolkit:main Jan 15, 2025
12 of 13 checks passed
@RosieAMT
Copy link

🎉 This PR is included in version 2.42.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants