Dashboard schema: Add comment about deep copy really being deep copy. (#102586)

help future me
This commit is contained in:
Oscar Kilhed
2025-03-21 11:53:29 +02:00
committed by GitHub
parent bf456179e7
commit f2770b0984
3 changed files with 3 additions and 0 deletions
@@ -219,6 +219,7 @@ func (o *Dashboard) Copy() resource.Object {
}
func (o *Dashboard) DeepCopyObject() runtime.Object {
// This really should be deep copy. If the generator tries to change it to o.Copy() it needs to be manually changed back to o.DeepCopy() and this comment added back.
return o.DeepCopy()
}
@@ -219,6 +219,7 @@ func (o *Dashboard) Copy() resource.Object {
}
func (o *Dashboard) DeepCopyObject() runtime.Object {
// This really should be deep copy. If the generator tries to change it to o.Copy() it needs to be manually changed back to o.DeepCopy() and this comment added back.
return o.DeepCopy()
}
@@ -219,6 +219,7 @@ func (o *Dashboard) Copy() resource.Object {
}
func (o *Dashboard) DeepCopyObject() runtime.Object {
// This really should be deep copy. If the generator tries to change it to o.Copy() it needs to be manually changed back to o.DeepCopy() and this comment added back.
return o.DeepCopy()
}