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

Client Config allows a driver whitelist. #473

Merged
merged 4 commits into from
Nov 20, 2015
Merged

Client Config allows a driver whitelist. #473

merged 4 commits into from
Nov 20, 2015

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Nov 20, 2015

Client Config allows a driver whitelist to disable unwanted drivers. This closes #467

c.logger.Printf("[DEBUG] client: available drivers %v", avail)

if len(whitelisted) != 0 {
c.logger.Printf("[DEBUG] client: drivers disabled by whitelist: %v", whitelisted)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message makes it seem like whitelisted are disabled. If these are actually the disabled drivers whitelisted should be named skipped or similar, and the message made a bit more clear e.g. "these drivers were skipped" or better just indicate which ones were actually loaded. E.g.

"client: discovered drivers %v"
"client: loaded drivers %v from whitelist

dadgar added a commit that referenced this pull request Nov 20, 2015
Client Config allows a driver whitelist.
@dadgar dadgar merged commit b00537f into master Nov 20, 2015
@dadgar dadgar deleted the f-driver-whitelist branch November 20, 2015 22:26
@github-actions
Copy link

github-actions bot commented May 2, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Limit available drivers through client configuration
2 participants