glog.Infof("Failed to update the status of cluster: %v ,error is : %v",cluster.Name,err)
glog.Warningf("Failed to update the status of cluster: %v ,error is : %v",cluster.Name,err)
// Don't return err here, as we want to continue processing remaining clusters.
continue
}
}
returnnil
}
funcNewClusterClientset(c*federation_v1alpha1.Cluster)(*clientset.Clientset,error){// TODO: Stolen from federation/pkg/federation-controller/service/cluster_helper.go - factor it out of there.