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

fix: Specify where in YAML validation error occurred #5174

Merged
merged 2 commits into from Feb 23, 2021
Merged

Conversation

simster7
Copy link
Member

Before (unhelpful):

        Validation failed - data-transformations.yaml: Must validate one and only one schema (oneOf)
        key is required

After (helpful):

        Validation failed - data-transformations.yaml: Must validate one and only one schema (oneOf) in (root)
        key is required in (root).spec.templates.1.data.source.artifactPaths.s3

occurred

Signed-off-by: Simon Behar <simbeh7@gmail.com>
Signed-off-by: Simon Behar <simbeh7@gmail.com>
@simster7 simster7 merged commit a9c4200 into master Feb 23, 2021
@simster7 simster7 deleted the val-err branch February 23, 2021 19:20
@simster7 simster7 mentioned this pull request Feb 23, 2021
34 tasks
@simster7 simster7 mentioned this pull request Mar 8, 2021
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.

None yet

2 participants