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
devang-gaur opened this issue
Sep 28, 2020
· 0 comments
· Fixed by #4075
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.priority/CriticalWe need to stop doing everything and fix this ASAP. It is making the project unusable.
kind/bugCategorizes issue or PR as related to a bug.priority/CriticalWe need to stop doing everything and fix this ASAP. It is making the project unusable.
/kind bug
If a devfile component already exists in the working file directory,
odo create <cmpType> --s2i
does not error out.Another bug has been introduced at https://github.com/openshift/odo/blame/master/pkg/odo/cli/component/create.go#L349 .
The
if !co.forceS2i { }
block has logic inside like https://github.com/openshift/odo/blame/master/pkg/odo/cli/component/create.go#L377 & https://github.com/openshift/odo/blame/master/pkg/odo/cli/component/create.go#L351 .. which requiresco.forceS2i == true
. This code will never execute since the outer blog requiresco.forceS2i == false
. Therefore, conflicting flags are not being checked properly either.The text was updated successfully, but these errors were encountered: