Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.
This repository was archived by the owner on May 11, 2022. It is now read-only.

Success message printed also when command fails #73

@nicolaferraro

Description

@nicolaferraro

I'm using this:

[Check if you're connected to an OpenShift cluster](didact://?commandId=vscode.didact.requirementCheck&text=cluster-requirements-status$$oc%20get%20project$$NAME&completion=OpenShift%20is%20connected. "Tests to see if `kamel version` returns a result"){.didact}

*Status: unknown*{#cluster-requirements-status}
``

When I'm not connected to an OpenShift cluster, the command fails, the status is correctly set to "Unavailable", but the popup on the bottom right corner says "OpenShift is connected.", which is wrong.

How do we deal with this? Should we put a generic message, like "OpenShift connection checked" instead of a success message? Can we override the failure message?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions