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

Extract resolved config in struct #2220

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Conversation

neacsu
Copy link
Collaborator

@neacsu neacsu commented Feb 19, 2025

This change is Reviewable

@neacsu neacsu requested a review from pronebird February 19, 2025 11:51
Copy link
Collaborator

@pronebird pronebird left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion


nym-vpn-core/crates/nym-gateway-directory/src/gateway_client.rs line 95 at r1 (raw file):

}

impl Iterator for ResolvedConfig {

You could simply chain all Vectors together to avoid draining them as SocketAddr is Copy.

@neacsu neacsu requested a review from pronebird February 19, 2025 12:17
Copy link
Collaborator

@pronebird pronebird left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 3 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @neacsu)

Copy link
Collaborator

@pronebird pronebird left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @neacsu)

@pronebird pronebird merged commit afa7e44 into develop Feb 19, 2025
11 of 12 checks passed
@pronebird pronebird deleted the feature/refine_dns_resolve branch February 19, 2025 12:52
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.

2 participants