Regenerate tenant CRDs and deepcopies for node status

Agent-Logs-Url: https://github.com/projectcapsule/capsule/sessions/35d75f80-a2f5-4f3f-a0f8-db8fcf20edce

Co-authored-by: oliverbaehler <26610571+oliverbaehler@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-20 09:27:42 +00:00
committed by GitHub
co-authored by oliverbaehler
parent 95e8a8c312
commit 21ab275fa2
4 changed files with 22 additions and 2 deletions
+5
View File
@@ -353,6 +353,11 @@ func (in *TenantSpec) DeepCopy() *TenantSpec {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TenantStatus) DeepCopyInto(out *TenantStatus) {
*out = *in
if in.Nodes != nil {
in, out := &in.Nodes, &out.Nodes
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Namespaces != nil {
in, out := &in.Namespaces, &out.Namespaces
*out = make([]string, len(*in))
+5
View File
@@ -1257,6 +1257,11 @@ func (in *TenantAvailableClassesStatus) DeepCopy() *TenantAvailableClassesStatus
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TenantAvailableStatus) DeepCopyInto(out *TenantAvailableStatus) {
*out = *in
if in.Nodes != nil {
in, out := &in.Nodes, &out.Nodes
*out = make([]string, len(*in))
copy(*out, *in)
}
in.Classes.DeepCopyInto(&out.Classes)
}