Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Sync from open-cluster-management-io/config-policy-controller: #133 #498

Merged
merged 2 commits into from
May 18, 2023

Commits on May 18, 2023

  1. Refactor test utils

    - Replace `Eventually` with `EventuallyWithOffset`
    - Use native Gomega assertions instead of custom assertions
    
    Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
    (cherry picked from commit 3e915f5)
    dhaiducek authored and Magic Mirror committed May 18, 2023
    Configuration menu
    Copy the full SHA
    368f07d View commit details
    Browse the repository at this point in the history
  2. Adjust CompliancyDetails array properly

    - Clear compliancyDetails on policy-wide errors
    - Reduce the length of the array if the number of
      object-templates is lower
    
    ref: https://issues.redhat.com/browse/ACM-5512
    Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
    (cherry picked from commit 9b8a98f)
    dhaiducek authored and Magic Mirror committed May 18, 2023
    Configuration menu
    Copy the full SHA
    9ebf672 View commit details
    Browse the repository at this point in the history