... | ... |
@@ -159,7 +159,7 @@ func (o *orderedMap) Remove(key string) { |
159 | 159 |
// OrderedKeys returns back the ordered keys. This can be used to build a stable serialization |
160 | 160 |
func (o *orderedMap) OrderedKeys() *list.List { |
161 | 161 |
if o.orderedKeys == nil { |
162 |
- o.orderedKeys = list.New() |
|
162 |
+ return list.New() |
|
163 | 163 |
} |
164 | 164 |
return o.orderedKeys |
165 | 165 |
} |