terraform/internal/providercache
Martin Atkins f35ebe2d65 internal/providercache: Fix incorrect logic in Installer.SetGlobalCacheDir
Due to some incomplete rework of this function in an earlier commit, the
safety check for using the same directory as both the target and the
cache was inverted and was raising an error _unless_ they matched, rather
than _if_ they matched.

This change is verified by the e2etest TestInitProviders_pluginCache,
which is also updated to use the new-style cache directory layout as part
of this commit.
2020-04-06 09:24:23 -07:00
..
testdata/cachedir internal/providercache: add windows test fixture 2020-03-25 13:50:00 -07:00
cached_provider.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
cached_provider_test.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
dir.go internal/{getproviders,providercache}: improved trace logging 2020-03-25 13:50:00 -07:00
dir_modify.go internal/providercache: installFromLocalDir 2020-04-06 09:24:23 -07:00
dir_modify_test.go internal/providercache: LinkFromOtherCache removes target, not source 2020-03-25 13:50:00 -07:00
dir_test.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
doc.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
installer.go internal/providercache: Fix incorrect logic in Installer.SetGlobalCacheDir 2020-04-06 09:24:23 -07:00
installer_events.go internal/providercache: Installer records its selections in a file 2020-04-06 09:24:23 -07:00
lock_file.go internal/providercache: Fix positions on selections file/dir 2020-04-06 09:24:23 -07:00
package_install.go internal/providercache: installFromLocalDir 2020-04-06 09:24:23 -07:00