mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
config/module: use source as part of key
This commit is contained in:
parent
03bdf1375e
commit
92336281a5
@ -170,7 +170,7 @@ func (t *Tree) Load(s getter.Storage, mode GetMode) error {
|
|||||||
|
|
||||||
// Get the directory where this module is so we can load it
|
// Get the directory where this module is so we can load it
|
||||||
key := strings.Join(path, ".")
|
key := strings.Join(path, ".")
|
||||||
key = "root." + key
|
key = fmt.Sprintf("root.%s-%s", key, source)
|
||||||
dir, ok, err := getStorage(s, key, source, mode)
|
dir, ok, err := getStorage(s, key, source, mode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user