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

Fix "Use "odo dev" to deploy it on a cluster." message when odo command is run from an empty dir #6049

Closed
valaparthvi opened this issue Aug 24, 2022 · 3 comments · Fixed by #6059
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

@valaparthvi
Copy link
Contributor

/kind bug

What versions of software are you using?

Operating System:
Fedora 31
Output of odo version:
odov3.0.0-beta3

How did you run odo exactly?

  1. mkcd /tmp/101
  2. odo delete component

Actual behavior

$ odo delete component
 ✗  The current directory does not represent an odo component. 
To get started:
  * Use "odo init" to initialize an odo component in the folder.
  * Use "odo dev" to deploy it on cluster.
  * Open this folder in your favorite IDE and start editing, your changes will be reflected directly on the cluster.
Visit https://odo.dev for more information.

Expected behavior

 ✗  The current directory does not represent an odo component. 
To get started:
  * Use "odo init" to initialize an odo component in the folder.
  * Use "odo dev" to run your application on cluster.
  * Open this folder in your favorite IDE and start editing, your changes will be reflected directly on the cluster.
Visit https://odo.dev for more information.

Any logs, error output, etc?

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

@valaparthvi can you guide me I want to contribute to this issue 🙂

@valaparthvi
Copy link
Contributor Author

Hi @MahendraBishnoi29, this is where you need to make the necessary changes.

@MahendraBishnoi29
Copy link
Contributor

MahendraBishnoi29 commented Aug 25, 2022

hey @valaparthvi I have opened a PR can you please review it and let me know it's good or not 🙌🏻

@rm3l rm3l moved this to Done in odo v3.0.0 Sep 8, 2022
@rm3l rm3l added the v3 label Oct 7, 2022
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
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants