mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Alternate approach to linking and locking the global cache (#2708)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Signed-off-by: Martin Atkins <mart@degeneration.co.uk> Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
This commit is contained in:
@@ -227,7 +227,7 @@ func (c *ProvidersLockCommand) Run(args []string) int {
|
||||
evts := &providercache.InstallerEvents{
|
||||
// Our output from this command is minimal just to show that
|
||||
// we're making progress, rather than just silently hanging.
|
||||
FetchPackageBegin: func(provider addrs.Provider, version getproviders.Version, loc getproviders.PackageLocation) {
|
||||
FetchPackageBegin: func(provider addrs.Provider, version getproviders.Version, loc getproviders.PackageLocation, inCacheDirectory bool) {
|
||||
c.Ui.Output(fmt.Sprintf("- Fetching %s %s for %s...", provider.ForDisplay(), version, platform))
|
||||
if prevVersion, exists := selectedVersions[provider]; exists && version != prevVersion {
|
||||
// This indicates a weird situation where we ended up
|
||||
|
||||
Reference in New Issue
Block a user