workin on migr8 fix double def name

This commit is contained in:
bel
2021-08-05 21:24:46 -06:00
parent fc08058f29
commit 9631d339b0
6 changed files with 78 additions and 7 deletions

2
map.go
View File

@@ -46,7 +46,7 @@ func (m *Map) List(ns []string, limits ...string) ([]string, error) {
keys := []string{}
if _, ok := m.m[namespace]; !ok {
namespace = DefaultNamespace
namespace = resolve.DefaultNamespace
}
for k := range m.m[namespace] {
if k >= limits[0] && k <= limits[1] {