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

Check fields duplication #1287

Closed
tetianakravchenko opened this issue May 31, 2023 · 1 comment
Closed

Check fields duplication #1287

tetianakravchenko opened this issue May 31, 2023 · 1 comment

Comments

@tetianakravchenko
Copy link

It is possible to define the same field multiple times in <package-name>/fields/ folder. If the definition of this fields are different - it might cause unexpected changed wen runnin elastic-package build, example: elastic/integrations#6118 (comment)

I think it would be helpful to add check on duplicated fields when executing elastic-package check

@jsoriano
Copy link
Member

This check (along some others), is already available in package spec v2 (elastic/package-spec#331). Try updating format_spec in the manifest to a recent version, like format_version: 2.8.0.

If you find issues upgrading to this major, take a look to these guidelines: https://github.com/elastic/elastic-package/blob/main/docs/howto/update_major_package_spec.md

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

No branches or pull requests

2 participants