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

configure: Add option to disable automagic dependency on zstd #2305

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

Whissi
Copy link
Contributor

@Whissi Whissi commented Apr 29, 2019

This commit will add an option which will allow you to explicit disable
zstd usage.

function manual_checks {
local action=$1
local action=${1:-disable}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this needed?

This commit will add an option which will allow you to explicit disable
zstd usage.
function manual_checks {
local action=$1
local action=${1:-disable}
Copy link
Contributor

Choose a reason for hiding this comment

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

why is a default value needed? it is always passed an action

Copy link
Contributor

Choose a reason for hiding this comment

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

Not the PR author, but I assume @Whissi is simply following the precedent set by libssl and libsasl2:

If this is indeed unnecessary, perhaps it should be removed from those other modules as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that was my intention: Keep current style.

@benesch
Copy link
Contributor

benesch commented Aug 6, 2019

Not the PR author, but I'm interested in seeing this merged! Please see my response above. I actually think it would make sense to merge this as is for consistency with the other mklove lib modules and then if you'd like I can submit a follow-on PR to remove the default expansion across all of the mklove lib modules.

@edenhill edenhill merged commit 07353bf into confluentinc:master Aug 12, 2019
@edenhill
Copy link
Contributor

Thank you!

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

Successfully merging this pull request may close these issues.

3 participants