You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nested/indented structure of the unordered list to be preserved
// Merge returns the result of merging tv and pso ("partially specified// object") together. Of note:// - No fields can be removed by this operation.// - If both tv and pso specify a given leaf field, the result will keep pso's// value.// - Container typed elements will have their items ordered:// - like tv, if pso doesn't change anything in the container// - like pso, if pso does change something in the container.//// tv and pso must both be of the same type (their Schema and TypeRef must// match), or an error will be returned. Validation errors will be returned if// the objects don't conform to the schema.
What did you see instead?
// Merge returns the result of merging tv and pso ("partially specified// object") together. Of note:// - No fields can be removed by this operation.// - If both tv and pso specify a given leaf field, the result will keep pso's// value.// - Container typed elements will have their items ordered:// - like tv, if pso doesn't change anything in the container// - like pso, if pso does change something in the container.//// tv and pso must both be of the same type (their Schema and TypeRef must// match), or an error will be returned. Validation errors will be returned if// the objects don't conform to the schema.
The text was updated successfully, but these errors were encountered:
List items only contain paragraphs, not code blocks or nested lists. This avoids any space-counting subtlety as well as questions about how many spaces a tab counts for in inconsistent indentation.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Go gofmt on https://github.com/kubernetes-sigs/structured-merge-diff/blob/5e8be978e85123cab4e5cda730d0859172e6aeaf/typed/typed.go#L100-L111
What did you expect to see?
The nested/indented structure of the unordered list to be preserved
What did you see instead?
The text was updated successfully, but these errors were encountered: