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

bblfshctl driver install --force is misleading #249

Open
carlosms opened this issue Feb 11, 2019 · 1 comment
Open

bblfshctl driver install --force is misleading #249

carlosms opened this issue Feb 11, 2019 · 1 comment

Comments

@carlosms
Copy link

The bblfshctl driver install --force is misleading, it gives you the understanding that you are forcing to install a driver even if it is already installed. But what is actually happening is that the error message becomes a warning.

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver list|grep javascript
| javascript | docker://bblfsh/javascript-driver:latest | v2.5.0      | beta   | 2 months | alpine | 1.10-alpine | node:8-alpine        |

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver install javascript bblfsh/javascript-driver:v1.2.0
Installing javascript language driver from "bblfsh/javascript-driver:v1.2.0"... driver already installed: javascript (image reference: docker://bblfsh/javascript-driver:v1.2.0)

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver install --force javascript bblfsh/javascript-driver:v1.2.0
Installing javascript language driver from "bblfsh/javascript-driver:v1.2.0"... Warning: driver already installed: javascript (image reference: docker://bblfsh/javascript-driver:v1.2.0)

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver list|grep javascript
| javascript | docker://bblfsh/javascript-driver:latest | v2.5.0      | beta   | 2 months | alpine | 1.10-alpine | node:8-alpine        |
@bzz
Copy link
Contributor

bzz commented Feb 13, 2019

Related to #184 so most probably can be addressed together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants