Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Fix PatchJSON error when no component params are defined.#790

Merged
shomron merged 1 commit intoksonnet:masterfrom
shomron:issue-789-patchJSON
Jul 30, 2018
Merged

Fix PatchJSON error when no component params are defined.#790
shomron merged 1 commit intoksonnet:masterfrom
shomron:issue-789-patchJSON

Conversation

@shomron
Copy link
Collaborator

@shomron shomron commented Jul 26, 2018

  • PatchJSON guards against missing 'components' key.
  • BuildEnvParamsForModule / params_for_module.libsonnet returns empty components key when no component params are found.

Closes #789

Signed-off-by: Oren Shomron shomron@gmail.com

@shomron shomron requested a review from a team July 26, 2018 15:36
@coveralls
Copy link

coveralls commented Jul 26, 2018

Pull Request Test Coverage Report for Build 1244

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 71.204%

Totals Coverage Status
Change from base Build 1241: 0.0%
Covered Lines: 11948
Relevant Lines: 16780

💛 - Coveralls

Copy link
Member

@bryanl bryanl left a comment

Choose a reason for hiding this comment

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

LGTM

* PatchJSON guards against missing 'components' key.
* BuildEnvParamsForModule / params_for_module.libsonnet returns empty components key when no component params are found.

Closes ksonnet#789

Signed-off-by: Oren Shomron <shomron@gmail.com>
@shomron shomron force-pushed the issue-789-patchJSON branch from fa061cd to 9be5a34 Compare July 30, 2018 13:00
@shomron shomron merged commit 3b034ef into ksonnet:master Jul 30, 2018
@shomron shomron deleted the issue-789-patchJSON branch July 30, 2018 13:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants