You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System: Supported platform (However i ran it on Win10 only)
Output of odo version: master
How did you run odo exactly?
// in directory test1
PS C:\Users\User\go\src\github.com\openshift\odo\test1> odo create java --project testproject
V Validating component [621ms]
Please use `odo push` command to create the component with source deployed
PS C:\Users\User\go\src\github.com\openshift\odo\test1> odo push
Validation
V Checking component [1s]
[...]
// in directory test
PS C:\Users\User\go\src\github.com\openshift\odo\test> odo create java --project testproject
Please use `odo push` command to create the component with source deployed
PS C:\Users\User\go\src\github.com\openshift\odo\test> odo push
Validation
V Checking component [894ms]
[...]
PS C:\Users\User\go\src\github.com\openshift\odo\test> odo component list
APP NAME TYPE SOURCE STATE
app java-test-fozi java file:///./ Pushed
app java-test1-ikjb java file:///./ Pushed
PS C:\Users\User\go\src\github.com\openshift\odo\test> odo app delete app -f
This application has following components that will be deleted
component named java-test-fozi
component named java-test1-ikjb // Why this component is deleted ?
No services / could not get services
Deleted application: app from project: testproject
PS C:\Users\User\go\src\github.com\openshift\odo\test> odo component list
APP NAME TYPE SOURCE STATE
app java-test1-ikjb java ./ Not Pushed
Actual behavior
Deleting the component which is not part of local config.
Expected behavior
should delete the app named app and the respective component present in the local config file
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered:
This is correct. Both components are part of the same app. So it makes sense that when you delete the whole application from the cluster both get deleted.
We just probably need to explain this better in help message and in the documentation.
[kind/bug]
What versions of software are you using?
odo version
: masterHow did you run odo exactly?
Actual behavior
Deleting the component which is not part of local config.
Expected behavior
should delete the app named
app
and the respective component present in the local config fileAny logs, error output, etc?
The text was updated successfully, but these errors were encountered: