pulumi / upgrade-provider

A tool to automate provider upgrades on your local machine
7 stars 1 forks source link

Disable PF upgrade when /pf is not found, not UpgradeProviderVersion #183

Closed iwahbe closed 1 year ago

iwahbe commented 1 year ago

This regression was introduced in https://github.com/pulumi/upgrade-provider/pull/174. Before #174, Context was passed by value, and calling setFalse didn't do anything. I believe that code was always broken, but since it mutated a copy it was harmless.

This is a priority fix, since our automation is currently broken for providers that don't use /pf.

Fixes #179

iwahbe commented 1 year ago

I have checked that we didn't have any previous copy -> live changes in this file.