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 Chassis controls link definition #324

Closed
wants to merge 1 commit into from
Closed

Conversation

stmcginnis
Copy link
Owner

The Controls property of the Chassis object was incorrectly defined as a common.Links type, but it is actually a link to a collection, so it should be a common.Link (singular). This changes it to the Link type to avoid a JSON marshalling error on systems that populate this property.

This also uncovered that the link that is used later to retrieve these controls was never actually being set. Both issues are now fixed.

Fixes: #322

The Controls property of the Chassis object was incorrectly defined as a
`common.Links` type, but it is actually a link to a collection, so it
should be a `common.Link` (singular). This changes it to the Link type
to avoid a JSON marshalling error on systems that populate this
property.

This also uncovered that the link that is used later to retrieve these
controls was never actually being set. Both issues are now fixed.

Signed-off-by: Sean McGinnis <[email protected]>
@stmcginnis
Copy link
Owner Author

Being handled in #323

@stmcginnis stmcginnis closed this Apr 30, 2024
@stmcginnis stmcginnis deleted the chassis-controls branch May 20, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error getting Chassis collection for DPU BMCs
1 participant