Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message displayed with Experimental mode is displayed in JSON output #6374

Closed
feloy opened this issue Dec 5, 2022 · 0 comments · Fixed by #6375
Closed

Message displayed with Experimental mode is displayed in JSON output #6374

feloy opened this issue Dec 5, 2022 · 0 comments · Fixed by #6375
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@feloy
Copy link
Contributor

feloy commented Dec 5, 2022

/kind bug

How did you run odo exactly?

ODO_EXPERIMENTAL_MODE=true odo list component -o json 2> /dev/null

Actual behavior

Experimental mode enabled for flag: --run-on. Use at your own risk. More details on https://odo.dev/docs/user-guides/advanced/experimental-mode
{
	"componentInDevfile": "node-echo",
	"components": [
		{
			"name": "node-echo",
			"managedBy": "",
			"managedByVersion": "",
			"runningIn": {
				"deploy": false,
				"dev": false
			},
			"projectType": "Node.js"
		}
	]
}

Expected behavior

Messages must not be displayed with JSON output

{
	"componentInDevfile": "node-echo",
	"components": [
		{
			"name": "node-echo",
			"managedBy": "",
			"managedByVersion": "",
			"runningIn": {
				"deploy": false,
				"dev": false
			},
			"projectType": "Node.js"
		}
	]
}

Any logs, error output, etc?

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 5, 2022
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Dec 5, 2022
@rm3l rm3l added this to odo Project Dec 5, 2022
@feloy feloy self-assigned this Dec 5, 2022
@rm3l rm3l removed the needs-triage Indicates an issue or PR lacks a `triage/*` and requires one. label Dec 5, 2022
@rm3l rm3l added this to the v3.4.0 🚀 milestone Dec 5, 2022
@feloy feloy moved this to In Review 👀 in odo Project Dec 5, 2022
Repository owner moved this from In Review 👀 to Done ✅ in odo Project Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants