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

Disable fetcher(s)? #221

Closed
Djelibeybi opened this issue Jul 21, 2016 · 3 comments
Closed

Disable fetcher(s)? #221

Djelibeybi opened this issue Jul 21, 2016 · 3 comments
Labels
kind/feature request wishes for new functionality/docs

Comments

@Djelibeybi
Copy link
Contributor

Is there a way to disable one/more fetchers when Clair runs?

I'd like to disable the Debian/Ubuntu fetchers as they take a very long time to run and I'm not intending on scanning any images based on Debian or Ubuntu.

@jzelinskie
Copy link
Contributor

You cannot at runtime, but you can at compile time. If you strip the imports from main.go (i.e. remove this line)

@Djelibeybi
Copy link
Contributor Author

True. I guess I was hoping for something I wouldn't have to keep reverting to make sure I don't check it into my git repo by mistake. :)

Can I turn this into a config enhancement request?

@jzelinskie
Copy link
Contributor

Addressed in #432.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature request wishes for new functionality/docs
Development

No branches or pull requests

2 participants