Skip to content
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

[cli] only gives -it docker run option if it was given from the command line #4037

Merged
merged 1 commit into from
Feb 7, 2017

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Feb 7, 2017

What does this PR do?

For now for some commands we were using "-it" while it was not given by user so it was reporting some errors.
Now, we check the current arguments.
It avoids to give the option when it was not added on the original command line and that the sub action is not requiring a terminal

Also now print a warning if a terminal is given without interactive mode

What issues does this PR fix or reference?

#4005

Changelog

[cli] only gives -it docker run option if it was given from the command line

Release Notes

N/A bugfix

Docs PR

N/A bugfix

Change-Id: Ib76480ccf4320748a4fbc4704773b9337048ef61
Signed-off-by: Florent BENOIT fbenoit@codenvy.com

…ommand line

It avoids to give the option when it was not added on the original command line and that the sub action is not requiring a terminal

Also now print a warning if a terminal is given without interactive mode

Change-Id: Ib76480ccf4320748a4fbc4704773b9337048ef61
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
@benoitf benoitf added kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Feb 7, 2017
@benoitf benoitf self-assigned this Feb 7, 2017
@codenvy-ci
Copy link

@benoitf benoitf added this to the 5.3.0 milestone Feb 7, 2017
@benoitf benoitf merged commit ee95f2c into master Feb 7, 2017
@benoitf benoitf deleted the che#4005 branch February 7, 2017 14:21
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Feb 7, 2017
@benoitf benoitf restored the che#4005 branch February 8, 2017 17:35
@benoitf benoitf deleted the che#4005 branch February 8, 2017 17:36
@JamesDrummond JamesDrummond mentioned this pull request Feb 17, 2017
9 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
… from the command line (eclipse-che#4037)

It avoids to give the option when it was not added on the original command line and that the sub action is not requiring a terminal

Also now print a warning if a terminal is given without interactive mode

Change-Id: Ib76480ccf4320748a4fbc4704773b9337048ef61
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants