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(#1217): Improve parameters loading by first trying file if not then treat as named set. #1731

Merged
merged 2 commits into from
Aug 25, 2021

Conversation

fibonacci1729
Copy link
Contributor

What does this change

When we load a parameter set, first we check if it is a file on the local filesystem. If so load the parameter set from the file. Otherwise assume it is a parameter set name and load it normally.

What issue does it fix

Closes #1217

Notes for the reviewer

N/A

Checklist

  • Unit Tests
  • Documentation
  • Schema (porter.yaml)

Signed-off-by: Brian Hardock <brhardoc@microsoft.com>
@fibonacci1729 fibonacci1729 changed the title Fix issue #1217 Improve parameters loading by first trying file if not then treat as named set. Aug 23, 2021
@carolynvs
Copy link
Member

The builds are failing because of something that I just merged into release/v1. It's not related to your change.

@fibonacci1729 fibonacci1729 changed the title Improve parameters loading by first trying file if not then treat as named set. Fix(#1217): Improve parameters loading by first trying file if not then treat as named set. Aug 23, 2021
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
Copy link
Member

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@carolynvs carolynvs merged commit 2d63075 into getporter:release/v1 Aug 25, 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.

2 participants