Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeleteConfigCondition (0.29 sec)

  1. pilot/pkg/model/status/helper.go

    	for i, cond := range conditions {
    		if cond.Type == condition.Type {
    			conditions[i] = condition
    			return conditions
    		}
    	}
    
    	return append(conditions, condition)
    }
    
    func DeleteConfigCondition(cfg config.Config, condition string) config.Config {
    	c, ok := cfg.Status.(*v1alpha1.IstioStatus)
    	if !ok {
    		return cfg
    	}
    	if GetCondition(c.Conditions, condition) == nil {
    		return cfg
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 15:06:10 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. pilot/pkg/autoregistration/internal/state/store.go

    // to remove information about the health status (since we can no longer be certain about it).
    func (s *Store) DeleteHealthCondition(wle config.Config) error {
    	wle = status.DeleteConfigCondition(wle, status.ConditionHealthy)
    	// update the status
    	_, err := s.store.UpdateStatus(wle)
    	if err != nil && !errors.IsNotFound(err) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top