Use a single handler for executing a command on container / applying images/resources #6792
Labels
area/refactoring
Issues or PRs related to code refactoring
kind/user-story
An issue of user-story kind
Milestone
/kind user-story
User Story
Different parts of odo (odo dev build command, odo dev run/debug command, odo deploy, postStart, preStop events), are using different handlers for handling command execution.
Especially, "exec on container" commands are handled differently based on from where they call them.
It would be interesting to have the same handler, determining if the container already exists or not, and to execute the command accordingly
Acceptance Criteria
Links
The text was updated successfully, but these errors were encountered: