From 92336281a54838fdacbf9451b2ea556cc1619ef8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 22 Aug 2016 14:07:28 -0700 Subject: [PATCH] config/module: use source as part of key --- config/module/tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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