-
Notifications
You must be signed in to change notification settings - Fork 243
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 logs --follow
should not break if no containers are running
#6058
Comments
I think |
Working on it as a part of #5716 |
This behaviour is intentional. A user using IMO, just because user specified
IMO, no. That's just trying to fix a problem that doesn't exist, and make odo unnecessarily too smart. Probably I'm biased because I worked on this. But trying to make odo too smart has always seemed unappealing to me. My bias apart, is this something we discussed as a problem that needs to be changed before starting to work on it as a part of the mentioned issue/PR?
I'm going to blow the same old trumpet here - why do we want to enhance it? The way I see it, it's not even enhancement, but adding smartness and maintenance overhead. Has any user suggested that this is a flawed behaviour/approach. If yes, I'll shut up. If no, I don't understand why, as engineers, we want to make odo so smart about various things instead of keeping things simple. Probably my biases are screaming here, but I'm strongly opinionated about consciously keeping things simpler rather than making a tool too smart! |
We want this enhancement to be able to use it for The problem we encounter while implementing I can see different solutions to be able to use this module for
We have chosen to explore the second solution first as it seems the more robust in an asynchronous environment. |
OK. I don't have a strong preference for either. Let's do whichever makes sense. But the side effect it's going to have on current behaviour of Anyway, apologies if I seem to have deviated from the topic. |
bumping priority because this is blocker for #5716 |
/kind bug
What versions of software are you using?
Operating System: Fedora 32
Output of
odo version
: odo v3.0.0-beta3 (66fbfe0bf)How did you run odo exactly?
mkcd /tmp/10
odo init
odo logs --follow
Actual behavior
Expected behavior
If the component is not running on the cluster, it should wait until
odo logs --follow
there is some data to print until user exits.Related to #5716
cc: @feloy
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered: