fix: dont try to parse empty values on status lookup
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
afeee1270e
commit
b1b9612e01
@ -144,7 +144,9 @@ can take some time.
|
|||||||
version := "unknown"
|
version := "unknown"
|
||||||
if statusMeta, ok := statuses[app.StackName()]; ok {
|
if statusMeta, ok := statuses[app.StackName()]; ok {
|
||||||
if currentVersion, exists := statusMeta["version"]; exists {
|
if currentVersion, exists := statusMeta["version"]; exists {
|
||||||
version = currentVersion
|
if currentVersion != "" {
|
||||||
|
version = currentVersion
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if statusMeta["status"] != "" {
|
if statusMeta["status"] != "" {
|
||||||
status = statusMeta["status"]
|
status = statusMeta["status"]
|
||||||
|
Loading…
Reference in New Issue
Block a user