From b1b9612e016451343058388471475218d8f39c17 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Wed, 19 Jan 2022 12:38:41 +0100 Subject: [PATCH] fix: dont try to parse empty values on status lookup --- cli/app/list.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/app/list.go b/cli/app/list.go index 3c7f2143..f57e0cd4 100644 --- a/cli/app/list.go +++ b/cli/app/list.go @@ -144,7 +144,9 @@ can take some time. version := "unknown" if statusMeta, ok := statuses[app.StackName()]; ok { if currentVersion, exists := statusMeta["version"]; exists { - version = currentVersion + if currentVersion != "" { + version = currentVersion + } } if statusMeta["status"] != "" { status = statusMeta["status"]