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
Updated to trim the prefix "." to calculate the length of the `Spec`.
`cfg.PrefixConfig.SpecField` value is `.Spec` so old code `len(cfg.PrefixConfig.SpecField) + 1` constructed incorrect field path and ignored the config set in `generator.yaml`
Added unit test to validate that below block is not generated.
```
if !ackcompare.SliceStringPEqual(a.ko.Spec.AuthenticationMode.Passwords, b.ko.Spec.AuthenticationMode.Passwords) {
delta.Add("Spec.AuthenticationMode.Passwords", a.ko.Spec.AuthenticationMode.Passwords, b.ko.Spec.AuthenticationMode.Passwords)
}
```
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
0 commit comments