mirror of
https://github.com/rancher/norman.git
synced 2025-09-19 09:50:52 +00:00
Index out of range fix in batchMove
This commit is contained in:
committed by
Darren Shepherd
parent
a978cad0e8
commit
65e6d1cc46
@@ -21,7 +21,7 @@ func (b *BatchMove) FromInternal(data map[string]interface{}) {
|
||||
}
|
||||
|
||||
func (b *BatchMove) ToInternal(data map[string]interface{}) {
|
||||
for i := len(b.moves) - 1; i >= 0; i++ {
|
||||
for i := len(b.moves) - 1; i >= 0; i-- {
|
||||
b.moves[i].ToInternal(data)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user