csi-addons / volume-replication-operator

Apache License 2.0
16 stars 23 forks source link

fix status.state when volume is demoted but not ready #67

Closed sp98 closed 3 years ago

sp98 commented 3 years ago

When volume is demoted but is not ready, the Status.State is still showing image as primary until the volume is ready. This creates confusion. This PR changes the Status.State to secondary when volume is demoted but volume is not ready.

Signed-off-by: Santosh Pillai sapillai@redhat.com