Refactor the provider installer loop (#2695)

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
Christian Mesh
2025-04-24 05:57:07 -04:00
committed by GitHub
parent 2be60a8753
commit 0178912104
5 changed files with 236 additions and 274 deletions

View File

@@ -181,9 +181,9 @@ func installerLogEventsForTests(into chan<- *testInstallerEventLogItem) *Install
}{version.String(), localHashes, signedHashes, priorHashes},
}
},
ProvidersFetched: func(authResults map[addrs.Provider]*getproviders.PackageAuthenticationResult) {
ProvidersAuthenticated: func(authResults map[addrs.Provider]*getproviders.PackageAuthenticationResult) {
into <- &testInstallerEventLogItem{
Event: "ProvidersFetched",
Event: "ProvidersAuthenticated",
Args: authResults,
}
},