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
Fix validateCapabilities to handle nil and empty arrays for spec validation.
validateCapabilities was using reflect.DeepEqual which considers nil and empty
slices as different. But for validation of spec, these should be considered as
same. Fix this by calling validateArray (for each field within capabilities)
which compares the length of the array.
PiperOrigin-RevId: 811436172
0 commit comments