mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
cleanup: consistent interface{} and any
This commit is contained in:
parent
0495616230
commit
e1fa1df3ae
@ -73,7 +73,7 @@ func NewCorrelatedObject(new, old interface{}, schema Schema) *CorrelatedObject
|
||||
//
|
||||
// If listType is map, creates a map representation of the list using the designated
|
||||
// map-keys and caches it for future calls.
|
||||
func (r *CorrelatedObject) correlateOldValueForChildAtNewIndex(index int) any {
|
||||
func (r *CorrelatedObject) correlateOldValueForChildAtNewIndex(index int) interface{} {
|
||||
oldAsList, ok := r.OldValue.([]interface{})
|
||||
if !ok {
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user