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

NAS-130886 / 25.04 / stop calling websocket_local_ip #14385

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

yocalebo
Copy link
Contributor

With the changes introduced here: #14372, we no longer need to pass the app object around and call websocket_local_ip.

@yocalebo yocalebo requested a review from a team August 30, 2024 17:20
@bugclerk bugclerk changed the title stop calling websocket_local_ip NAS-130886 / 25.04 / stop calling websocket_local_ip Aug 30, 2024
@bugclerk
Copy link
Contributor

if not host_ip:
try:
if app.origin.is_tcp_ip_family:
host_ip = app.origin.loc_addr
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, below you handled IPv6. Do we need to do so here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sonicaj do we need to put ipv6 address in brackets here for host_ip key in apps?

@yocalebo yocalebo merged commit 7323f89 into master Aug 30, 2024
2 of 3 checks passed
@yocalebo yocalebo deleted the improv2 branch August 30, 2024 17:36
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants