Skip to content

configs/configload: Don't panic when version constraint is added#21542

Merged
apparentlymart merged 2 commits intomasterfrom
b-crash-module-version
Jun 3, 2019
Merged

configs/configload: Don't panic when version constraint is added#21542
apparentlymart merged 2 commits intomasterfrom
b-crash-module-version

Conversation

@apparentlymart
Copy link
Copy Markdown
Contributor

Previously, adding a version constraint to a module that was previously recorded without a version in the module manifest would cause a panic.

Instead, we now use a slight variant of the "dependencies have changed" error that doesn't try to print out a specific version number.

This was already working, but since that codepath is separate from the
go-getter install codepath it's helpful to have a separate test for it,
in addition to the existing one for go-getter modules.
@apparentlymart apparentlymart added this to the v0.12.1 milestone May 31, 2019
@apparentlymart apparentlymart requested a review from a team May 31, 2019 16:20
@apparentlymart apparentlymart self-assigned this May 31, 2019
@apparentlymart apparentlymart force-pushed the b-crash-module-version branch from 7c04de3 to ef03464 Compare May 31, 2019 17:09
@apparentlymart apparentlymart removed the bug label Jun 3, 2019
Previously, adding a version constraint to a module that was previously
recorded without a version in the module manifest would cause a panic.

Instead, we now use a slight variant of the "dependencies have changed"
error that doesn't try to print out a specific version number.
@ghost
Copy link
Copy Markdown

ghost commented Jul 24, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants