RamenDR / ramen

Apache License 2.0
72 stars 52 forks source link

Change DRPC.Status.PreferredDecision type to a generic {ClusterName/Namespace} to remove the multicloud-operators-placementrule dependency from API go.mod #1343

Closed ShyamsundarR closed 3 months ago

ShyamsundarR commented 4 months ago

Currently the API go.mod imports multicloud-operators-placementrule. This is because the status.PreferredDecision is leveraging the type PlacementDecision

To enable a cleaner go.mod for the APIs that other modules may import, we could change this to a local struct instead of leveraging the PlacementDecision from the said import.