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

odo list: Empty parentheses for odo version if component is not running yet in the cluster #6061

Closed
rm3l opened this issue Aug 26, 2022 · 1 comment · Fixed by #6078
Closed
Assignees
Labels
good first issue Denotes an issue ready for a new contributor. Maintainers will help mentor new contributors. kind/bug Categorizes issue or PR as related to a bug.

Comments

@rm3l
Copy link
Member

rm3l commented Aug 26, 2022

/kind bug

What versions of software are you using?

Operating System:
Fedora 36

Output of odo version:
odo v3.0.0-beta3 (644d94c)

How did you run odo exactly?

# From a new empty directory, but you can skip the "odo init" step if you already have a component.# The important point is that the component must not be running yet in the cluster.
❯ odo init --name my-sample-go --devfile go --starter go-starter
❯ odo list

Actual behavior

❯ odo list
 ✓  Listing components from namespace 'default' [175ms]
 NAME                              PROJECT TYPE  RUNNING IN  MANAGED            
 * my-sample-go                    go            None        odo ()             
 my-nodesjs-with-k8s-uri-with-var  nodejs        Deploy      odo (v3.0.0-beta3) 

Expected behavior

The odo () cell seems odd to me, at first sight. We could either report the current version of odo, or just "odo" if we are unable to determine the version?

Any logs, error output, etc?

Originally posted by @rm3l in #6028 (comment)

@rm3l rm3l added the good first issue Denotes an issue ready for a new contributor. Maintainers will help mentor new contributors. label Aug 26, 2022
@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 26, 2022
@valaparthvi
Copy link
Contributor

just "odo" if we are unable to determine the version?

I think this makes more sense considering it is not yet running on the cluster and we do not know who it'll be managed by.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor. Maintainers will help mentor new contributors. kind/bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants