From bf4f687a2a451f8d4bd2eb64d32d2e2dd379a121 Mon Sep 17 00:00:00 2001 From: Tim Perry <pimterry@gmail.com> Date: Thu, 28 Jun 2018 12:03:44 +0200 Subject: [PATCH 1/2] Make local commands more resilient to unnamed containers Change-Type: patch --- lib/actions/local/common.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/actions/local/common.coffee b/lib/actions/local/common.coffee index 2e7c0df0..9b84bfb7 100644 --- a/lib/actions/local/common.coffee +++ b/lib/actions/local/common.coffee @@ -30,7 +30,7 @@ exports.selectContainerFromDevice = Promise.method (deviceIp, filterSupervisor = message: 'Select a container' type: 'list' choices: _.map containers, (container) -> - containerName = container.Names[0] or 'Untitled' + containerName = container.Names?[0] or 'Untitled' shortContainerId = ('' + container.Id).substr(0, 11) return { From 9017b8ec1104f0e4e5288cc2a8fd42aa9f152844 Mon Sep 17 00:00:00 2001 From: "resin-io-versionbot[bot]" <resin-io-versionbot[bot]@users.noreply.github.com> Date: Thu, 28 Jun 2018 12:55:34 +0000 Subject: [PATCH 2/2] v7.6.2 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 887ccb58..2f711339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to [Semantic Versioning](http://semver.org/). +## v7.6.2 - 2018-06-28 + +* Make local commands more resilient to unnamed containers #910 [Tim Perry] + ## v7.6.1 - 2018-06-26 * Make sure 'resin push' is included in the docs #907 [Tim Perry] diff --git a/package.json b/package.json index 31ca1b84..0a31f9c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "resin-cli", - "version": "7.6.1", + "version": "7.6.2", "description": "The official resin.io CLI tool", "main": "./build/actions/index.js", "homepage": "https://github.com/resin-io/resin-cli",