-
Notifications
You must be signed in to change notification settings - Fork 244
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
Warning message gets printed multiple times #2782
Comments
@mik-dass Is your terminal display really small? This is what may be causing the issue.. I may have to shorten the info / output). Can you re-run it with your terminal display wider? |
yes on a wider terminal, the duplication seems to be gone. |
@mik-dass Yup. That's normal. It's the terminal doing it's thing with regards to the spinner. I do realize that the warning message is actually quite long, I'm going to push a PR to reduce the size to hopefully we don't have this occur again on smaller terminals. |
OK 👍 |
**What type of PR is this?** > Uncomment only one ` /kind` line, and delete the rest. > For example, `> /kind bug` would simply become: `/kind bug` /kind code-refactoring **What does does this PR do / why we need it**: Updates the warning output to have less information (remove the part about using `-v` for more information). This is needed in order to reduce the width of text so we don't run into any issues with output being resized due to small terminals. **Which issue(s) this PR fixes**: Fixes redhat-developer#2782 **How to test changes / Special notes to the reviewer**: Run it :) ```sh git clone https://github.com/openshift/nodejs-ex odo create node js odo preference set PushTimeout watch -n 1 oc delete pvc --all odo push -f ``` Signed-off-by: Charlie Drage <charlie@charliedrage.com>
**What type of PR is this?** > Uncomment only one ` /kind` line, and delete the rest. > For example, `> /kind bug` would simply become: `/kind bug` /kind code-refactoring **What does does this PR do / why we need it**: Updates the warning output to have less information (remove the part about using `-v` for more information). This is needed in order to reduce the width of text so we don't run into any issues with output being resized due to small terminals. **Which issue(s) this PR fixes**: Fixes #2782 **How to test changes / Special notes to the reviewer**: Run it :) ```sh git clone https://github.com/openshift/nodejs-ex odo create node js odo preference set PushTimeout watch -n 1 oc delete pvc --all odo push -f ``` Signed-off-by: Charlie Drage <charlie@charliedrage.com>
/kind bug
How did you run odo exactly?
odo push
Actual behavior
Waiting for component to start [⚠ WARNING x5: BackOff, use
-vfor more inf ◓
gets printed again and again.Expected behavior
Waiting for component to start [⚠ WARNING x5: BackOff, use
-vfor more inf
to be printed onceThe text was updated successfully, but these errors were encountered: