From ad2713fc00580c6da9e4f9dc70ec0269a6463d4b Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Fri, 13 Apr 2018 18:18:56 +0200 Subject: [PATCH] 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 --- lib/actions/local/common.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/actions/local/common.coffee b/lib/actions/local/common.coffee index 6c6242d7..2e7c0df0 100644 --- a/lib/actions/local/common.coffee +++ b/lib/actions/local/common.coffee @@ -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 }