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 SetPortableClassItems() method was required on all portable ___ClassList objects following crossplane/crossplane-runtime#13. Implementation consisted of ignoring objects that were not the correct type for the class list's items:
// SetPortableClassItems of this RedisClusterClassList.func (rc*RedisClusterClassList) SetPortableClassItems(r []resource.PortableClass) {
items:=make([]RedisClusterClass, len(r))
fori, item:=ranger {
ifrcItem, ok:=item.(*RedisClusterClass); ok {
items[i] =*rcItem
}
}
rc.Items=items
}
How could Crossplane help solve your problem?
It is not clear that this is the desired behavior for this method. Alternatives were proposed by @negz in comment.
The text was updated successfully, but these errors were encountered:
What problem are you facing?
The
SetPortableClassItems()
method was required on all portable___ClassList
objects following crossplane/crossplane-runtime#13. Implementation consisted of ignoring objects that were not the correct type for the class list's items:How could Crossplane help solve your problem?
It is not clear that this is the desired behavior for this method. Alternatives were proposed by @negz in comment.
The text was updated successfully, but these errors were encountered: