• Kubernetes Submit Queue's avatar
    Merge pull request #44810 from FengyunPan/fix-Errorf · 8aaffb40
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829)
    
    Return clusterErr rather than err
    
    The updateClusterIngressUIDToMasters() should return clusterErr, not err.
    If the 'err' of 'masterCluster, masterUID, err := ic.getMasterCluster()' is nil and the 'clusterErr' of 'clusterObj, clusterErr := api.Scheme.DeepCopy(cluster)' is not nil, updateClusterIngressUIDToMasters() will return ("", nil).
    
    And do not log fallbackUID when fallbackUID is nil.
    8aaffb40
Name
Last commit
Last update
..
cluster Loading commit data...
ingress Loading commit data...
namespace Loading commit data...
service Loading commit data...
sync Loading commit data...
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...