- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DeleteConfigCondition (0.16 sec)
-
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) -
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)