-
Notifications
You must be signed in to change notification settings - Fork 177
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
Fix bind command-line argument being ignored #1020
Conversation
Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
@@ -667,7 +666,6 @@ pub fn create_s3_client(args: &CliArgs) -> anyhow::Result<(S3CrtClient, EventLoo | |||
.read_backpressure(true) | |||
.initial_read_window(initial_read_window_size) | |||
.user_agent(user_agent); | |||
#[cfg(feature = "multiple-nw-iface")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've completely overlooked that on previous review. Is it possible to verify locally that it has the desired effect though? (e.g. compiling without any feature flags and specifying eth0
and an inexistent interface as in your auto tests)
(also there's a conflict in changelog)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I verified locally (and double checked just now after merging from main).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of change
The
--bind
argument was not actually configuring the network interfaces in standard release builds of Mountpoint, as it still had the feature flag hiding the configuration.This change fixes the issue for now. In the meantime, I'll take some time to understand how this type of issue can be avoided in future.
Relevant issues: #815
Does this change impact existing behavior?
Fixes issue where
--bind
argument wasn't respected.Does this change need a changelog entry in any of the crates?
Added fix note in change log.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).