Skip to content

Conversation

@felix-kaestner
Copy link
Contributor

No description provided.

@felix-kaestner felix-kaestner requested a review from a team as a code owner November 20, 2025 09:52
@hardikdr hardikdr added the area/metal-automation Automation processes within the Metal project. label Nov 21, 2025
@hardikdr hardikdr added this to Roadmap Nov 21, 2025
When fields are absent in the YANG payload, they are skipped when the
payload is unmarshaled into a Go struct. This lead to invalid
comparisons, as the `gnmiext.Client` failed to detect changes in this
case. This commit fixes this issue, by resetting struct fields not
present in the YANG payload with a json struct tag back to their zero
value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metal-automation Automation processes within the Metal project.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants