diff --git a/config/module/tree.go b/config/module/tree.go index 070789c24..3af556e91 100644 --- a/config/module/tree.go +++ b/config/module/tree.go @@ -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 key := strings.Join(path, ".") - key = "root." + key + key = fmt.Sprintf("root.%s-%s", key, source) dir, ok, err := getStorage(s, key, source, mode) if err != nil { return err