Skip to content

fix: Ensure fqdn is always treated as a string in get_hostname_fqdn#5993

Merged
TheRealFalcon merged 1 commit intocanonical:mainfrom
masihkhatibzadeh99:ensure-fqdn-as-string
Feb 7, 2025
Merged

fix: Ensure fqdn is always treated as a string in get_hostname_fqdn#5993
TheRealFalcon merged 1 commit intocanonical:mainfrom
masihkhatibzadeh99:ensure-fqdn-as-string

Conversation

@masihkhatibzadeh99
Copy link
Contributor

Fixes #5989

Fix

  • Explicitly cast fqdn to a string before processing.

@TheRealFalcon TheRealFalcon self-assigned this Feb 7, 2025
@TheRealFalcon TheRealFalcon added the CLA signed The submitter of the PR has signed the CLA label Feb 7, 2025
Copy link
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks for the contribution!

@TheRealFalcon TheRealFalcon merged commit b45d66a into canonical:main Feb 7, 2025
20 checks passed
holmanb pushed a commit to holmanb/cloud-init that referenced this pull request Feb 11, 2025
…#5993)

Explicitly cast fqdn to a string before processing.

Fixes canonicalGH-5989

Co-authored-by: masih.khatibzdeh <masih.khatibzadeh@snapp.cab>
holmanb pushed a commit to holmanb/cloud-init that referenced this pull request Feb 11, 2025
…#5993)

Explicitly cast fqdn to a string before processing.

Fixes canonicalGH-5989

Co-authored-by: masih.khatibzdeh <masih.khatibzadeh@snapp.cab>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA signed The submitter of the PR has signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If FQDN is number, cloud-config.service fails

2 participants