RamenDR / ramen

Apache License 2.0
72 stars 52 forks source link

don't consider DRType for WorkloadProtectionMetric #1378

Closed rakeshgm closed 3 months ago

rakeshgm commented 3 months ago

The current code does not set WorkloadProtectionMetric for MDR, this patch tries to fix this issue and sets metrics regardless of wheather its MDR or RDR and few minor refactors

fixes: https://github.com/RamenDR/ramen/issues/1377