Dashboard schema: Add comment about deep copy really being deep copy. (#102586)
help future me
This commit is contained in:
1 parent
bf456179e7
commit
f2770b0984
3 files changed
+3
No files matched your search
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user