-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
As we documented in https://github.com/openstack-k8s-operators/docs/blob/main/conditions.md:
When a controller performs a task, before it starts a step condition gets initialized to Status=Unknown e.g. DBReady, DBSync, Endpoint, ServiceRegistered, …
However the current lib-common code:
lib-common/modules/common/condition/funcs.go
Lines 80 to 83 in 903adc9
| // If the condition does not exist, add it | |
| if !exists { | |
| *conditions = append(*conditions, *c) | |
| } |
Metadata
Metadata
Assignees
Labels
No labels