Skip to content

baremetal: also account for Frequency as an empty string - #4020

Merged
mandre merged 1 commit into
gophercloud:mainfrom
dtantsur:frequency
Sep 17, 2026
Merged

mandre merged 1 commit into
gophercloud:mainfrom
dtantsur:frequency

Conversation

@dtantsur

Copy link
Copy Markdown
Contributor

Regression in 0bffcd8: frequency can
also be an empty string. Unmarshalling json.Number breaks that.
This change adds a custom unmarshall for CPU information.

This needs a clean-up in v3.

Signed-off-by: Dmitry Tantsur [email protected]

@github-actions github-actions Bot added edit:baremetal This PR updates baremetal code semver:minor Backwards-compatible change backport-v2 This PR will be backported to v2 labels Sep 17, 2026
@coveralls

coveralls commented Sep 17, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 63.614% (+0.007%) from 63.607% — dtantsur:frequency into gophercloud:main

@dtantsur

Copy link
Copy Markdown
Contributor Author

Testing in metal3-io/baremetal-operator#3650

Regression in 0bffcd8: frequency can
also be an empty string. Unmarshalling json.Number breaks that.
This change adds a custom unmarshall for CPU information.

This needs a clean-up in v3.

Signed-off-by: Dmitry Tantsur <[email protected]>
@mandre
mandre added this pull request to the merge queue Sep 17, 2026
Merged via the queue into gophercloud:main with commit fb051cc Sep 17, 2026
73 checks passed
@dtantsur
dtantsur deleted the frequency branch September 17, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:baremetal This PR updates baremetal code semver:minor Backwards-compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants