change the FolderStorage key
updating the key will cause the FolderStorage hash to change forcing modules to be re-fetched. This is required because any configurations using the subDir notation will have the configuration in the wrong directory.
This commit is contained in:
parent
6c20141c30
commit
d216d19f21
|
@ -182,7 +182,7 @@ func (t *Tree) Load(s getter.Storage, mode GetMode) error {
|
|||
}
|
||||
// Get the directory where this module is so we can load it
|
||||
key := strings.Join(path, ".")
|
||||
key = fmt.Sprintf("root.%s-%s", key, m.Source)
|
||||
key = fmt.Sprintf("module.%s-%s", key, m.Source)
|
||||
|
||||
dir, ok, err := getStorage(s, key, source, mode)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue