Closed alohr51 closed 4 years ago
CLI used to return a images array for each curated stack version object (see https://github.com/kabanero-io/kabanero-command-line-services/issues/193 for details) we fail to parse the JSON when that images array is missing in the curated stacks JSON.
We need to be more resilient in our key checking so we don't fail parsing, which in turn stops the execution before stacks are shown.
show stacks even if the images key is missing from JSON
stacks don't load
If applicable, add screenshots to help explain your problem.
Describe the bug
CLI used to return a images array for each curated stack version object (see https://github.com/kabanero-io/kabanero-command-line-services/issues/193 for details) we fail to parse the JSON when that images array is missing in the curated stacks JSON.
We need to be more resilient in our key checking so we don't fail parsing, which in turn stops the execution before stacks are shown.
Expected behavior
show stacks even if the images key is missing from JSON
Actual behavior
stacks don't load
Environment where the bug occurred
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context