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

Refactored YamlToObject. #1307

Merged
merged 4 commits into from
Feb 6, 2020
Merged

Refactored YamlToObject. #1307

merged 4 commits into from
Feb 6, 2020

Conversation

porridge
Copy link
Member

@porridge porridge commented Jan 24, 2020

This is to avoid splitting the YAML file "by hand" and instead use
provided libraries.

What this PR does / why we need it:

Something like this was suggested in review of #1298 (in turn provoked by #1297 ).

Also, this
Fixes: #1331

@porridge
Copy link
Member Author

porridge commented Feb 5, 2020

FTR, the e2e test is now failing due to kudobuilder/operators#205 for which a fix is pending review.
Otherwise this is ready for review.

@porridge porridge marked this pull request as ready for review February 5, 2020 09:10
Copy link
Contributor

@alenkacz alenkacz left a comment

Choose a reason for hiding this comment

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

nice 👏

This is to avoid splitting the YAML file "by hand" and instead use
provided libraries.
Copy link
Member

@gerred gerred left a comment

Choose a reason for hiding this comment

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

lgtm!

@porridge porridge merged commit 5cb9b0b into master Feb 6, 2020
@porridge porridge deleted the refactored-yaml-to-object branch February 6, 2020 08:44
ANeumann82 pushed a commit that referenced this pull request Feb 13, 2020
This is to avoid splitting the YAML file "by hand" and instead use
provided libraries.
This also fixes the inconsistent treatment of whitespace-only files.

Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
nfnt pushed a commit that referenced this pull request Mar 9, 2020
nfnt pushed a commit that referenced this pull request Mar 9, 2020
This reverts commit 5cb9b0b.

Signed-off-by: Jan Schlicht <jan@d2iq.com>
runyontr pushed a commit that referenced this pull request Mar 11, 2020
This is to avoid splitting the YAML file "by hand" and instead use
provided libraries.
This also fixes the inconsistent treatment of whitespace-only files.

Signed-off-by: Thomas Runyon <runyontr@gmail.com>
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.

Empty YAML files are treated inconsistently
3 participants