mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 06:33:28 +00:00
Don't show Docker container status from devices, as it can be wrong
The status includes a description of how long the device has been in this state (Up 6 weeks), which is frequently wrong as when the device first starts up its clock isn't up to date. It's confusing and messy, best to just remove it entirely. Fixes #828 Change-Type: patch
This commit is contained in:
parent
6388cfaf40
commit
ad2713fc00
@ -32,10 +32,9 @@ exports.selectContainerFromDevice = Promise.method (deviceIp, filterSupervisor =
|
||||
choices: _.map containers, (container) ->
|
||||
containerName = container.Names[0] or 'Untitled'
|
||||
shortContainerId = ('' + container.Id).substr(0, 11)
|
||||
containerStatus = container.Status
|
||||
|
||||
return {
|
||||
name: "#{containerName} (#{shortContainerId}) - #{containerStatus}"
|
||||
name: "#{containerName} (#{shortContainerId})"
|
||||
value: container.Id
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user