func (c *Reconciler) updateStatus(desired *v1alpha1.ClusterIngress) (*v1alpha1.ClusterIngress, error) {
	ci, err := c.clusterIngressLister.Get(desired.Name)
	if err != nil {
		return nil, err
	}
	// If there's nothing to update, just return.
	if reflect.DeepEqual(ci.Status, desired.Status) {
		return ci, nil
	}
	// Don't modify the informers copy
	existing := ci.DeepCopy()
	existing.Status = desired.Status
	return c.ServingClientSet.NetworkingV1alpha1().ClusterIngresses().UpdateStatus(existing)
}
// Update the Status of the ClusterIngress.  Caller is responsible for checking
// for semantic differences before calling.
Update the Status of the ClusterIngress.  Caller is responsible for checking
for semantic differences before calling.
// Update the Status of the ClusterIngress . Caller is responsible for checking // for semantic differences before calling .
func (c *Reconciler) updateStatus(desired *v1alpha1.ClusterIngress) (*v1alpha1.ClusterIngress, error) {
	ci, err := c.clusterIngressLister.Get(desired.Name)
	if err != nil {
		return nil, err
	}
	if reflect.DeepEqual(ci.Status, desired.Status) {
		return ci, nil
	}
	existing := ci.DeepCopy()
	existing.Status = desired.Status
	return c.ServingClientSet.NetworkingV1alpha1().ClusterIngresses().UpdateStatus(existing)
}
func ( c * Reconciler ) updateStatus ( desired * v1alpha1 . ClusterIngress ) ( * v1alpha1 . ClusterIngress , error ) { ci , err := c . clusterIngressLister . Get ( desired . Name ) if err != nil { return nil , err } if reflect . DeepEqual ( ci . Status , desired . Status ) { return ci , nil } existing := ci . DeepCopy ( ) existing . Status = desired . Status return c . ServingClientSet . NetworkingV1alpha1 ( ) . ClusterIngresses ( ) . UpdateStatus ( existing ) }
Update the Status of the ClusterIngress.
Update the Status of the ClusterIngress .
// If there's nothing to update, just return. // Don't modify the informers copy