Skip to content

fix: externalOrgId failed unique check #898

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

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

hemslo
Copy link
Contributor

@hemslo hemslo commented Jul 4, 2025

Field can't be optional and unique, multiple instance without this field populated lead to validation error

[
  {
    "filename": "/dependencies/ocm/crc/insights.yaml",
    "kind": "UNIQUE",
    "result": {
      "summary": "ERROR: /dependencies/ocm/crc/insights.yaml",
      "status": "ERROR",
      "reason": "DUPLICATE_UNIQUE_FIELD",
      "error": "The field 'externalOrgId' is repeated: ['/dependencies/ocm/crc/insights.yaml', '/dependencies/ocm/stage.yml', '/dependencies/ocm/production.yml']",
      "meta_schema_url": null,
      "ref": "/openshift/openshift-cluster-manager-1.yml",
      "schema_url": null,
      "ptr": "externalOrgId"
    }
  }
]

Fix #894

Copy link
Contributor

@jfreixa jfreixa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hemslo hemslo merged commit 76ca678 into app-sre:main Jul 4, 2025
3 checks passed
@hemslo hemslo deleted the uniq-external-org-id branch July 4, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants