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 pipeline validate method (required schema when template is present) #107

Merged
merged 2 commits into from
Jun 15, 2020

Conversation

kacpersaw
Copy link
Contributor

No description provided.

@kacpersaw kacpersaw requested a review from boscard June 15, 2020 07:22
@kacpersaw kacpersaw self-assigned this Jun 15, 2020
@@ -124,8 +124,7 @@ func (p Pipeline) validate(localData map[string]interface{}) error {
// template is optional key, but it requires defined schema
Copy link
Contributor

@boscard boscard Jun 15, 2020

Choose a reason for hiding this comment

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

I believe that this comment is not valid anymore :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why? When template key is present, a defined schema is required

@kacpersaw kacpersaw merged commit 92fc5d9 into master Jun 15, 2020
@kacpersaw kacpersaw deleted the fix-pipeline-validation branch June 15, 2020 08:51
boscard pushed a commit that referenced this pull request Jun 15, 2020
…t) (#107)

* Fix pipeline validate method (required schema when template is present)

* Add example v2 pipeline
boscard pushed a commit that referenced this pull request Jun 15, 2020
…t) (#107)

* Fix pipeline validate method (required schema when template is present)

* Add example v2 pipeline
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