• k8s-merge-robot's avatar
    Merge pull request #28430 from smarterclayton/fix_empty_deep_copy · de0e6de8
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    WIP - Handle map[]struct{} in DeepCopy
    
    Deep copy was not properly handling the empty struct case we use for Sets.
    
    @lavalamp I need your expertise when you have some time - the go2idl parser is turning sets.String into the following tree:
    
        type:         sets.String           kind: Alias
          underlying: map[string]sets.Empty kind: Map
            key:      string                kind: Builtin
            elem:     set.Empty             kind: Struct
                                                  ^
                                                  should be Alias
    
    Looking at tc.Named, I'm not sure what the expected outcome would be and why you flatten there.
    de0e6de8
Name
Last commit
Last update
..
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
integration Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-dns Loading commit data...
kube-proxy Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
kubernetes-discovery Loading commit data...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
OWNERS Loading commit data...