Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blueprint: remove omitempty from Customizations
See BurntSushi/toml#360 A recent change in BurntSushi/toml made encoding fail (later changed to error) if a struct is marked as omitempty and is comparable. Go docs about equality: https://go.dev/doc/go1#equality. Basically: A struct is comparable if all of its fields are comparable. Slices are not comparable. Customizations are marked as omitempty but they contain a lot of slices, thus they are not comparable. The new version of BurntSushi/toml therefore panics when we encode them. The solution is to remove the omitempty tag from Customizations. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
- Loading branch information