mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Updated sortedContainer slice ordering
This commit is contained in:
parent
1681d839fa
commit
db288a1727
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ func (c *DockerCommand) sortedContainers(containers []*Container) []*Container {
|
||||||
"exited": 2,
|
"exited": 2,
|
||||||
"created": 3,
|
"created": 3,
|
||||||
}
|
}
|
||||||
return states[containers[i].Container.State] < states[containers[j].Container.State]
|
return states[containers[i].Container.State] > states[containers[j].Container.State]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return containers
|
return containers
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue