diff --git a/container/mts/meta/meta.go b/container/mts/meta/meta.go index d3c6a8a9..4b2f8c9f 100644 --- a/container/mts/meta/meta.go +++ b/container/mts/meta/meta.go @@ -142,7 +142,7 @@ func (m *Data) Delete(key string) { delete(m.data, key) for i, k := range m.order { if k == key { - copy(m.order[:i], m.order[i+1:]) + copy(m.order[i:], m.order[i+1:]) m.order = m.order[:len(m.order)-1] break }