Merge pull request #27447 from Filirom1/fix-27445
Providers: Fix init with broken link in plugin_cache_dir
This commit is contained in:
commit
084cec6346
|
@ -120,7 +120,8 @@ func SearchLocalDirectory(baseDir string) (map[addrs.Provider]PackageMetaList, e
|
|||
// filesystem object below.
|
||||
info, err = os.Stat(fullPath)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to read metadata about %s: %s", fullPath, err)
|
||||
log.Printf("[WARN] failed to read metadata about %s: %s", fullPath, err)
|
||||
return nil
|
||||
}
|
||||
|
||||
switch len(parts) {
|
||||
|
|
Loading…
Reference in New Issue