-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix defects in merging structs for enums and unions. (#367)
* Fix defects in merging structs for enums and unions. * (M) ygot/struct_validation_map(_test)?.go - Resolve bug with merging enums where an unset value would overwrite a set value. - Resolve bug with merging enums where an error would not be thrown when the values were explicitly set to different values. - Resolve bug with merging unions where two unequal values would not result in an error being thrown. - Resolve bug with merging unions where an unset value would overwrite a set value. * run gofmt against ygot.
- Loading branch information
Showing
2 changed files
with
132 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters