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] Allow inbound rosenpass port #3109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lixmal
Copy link
Contributor

@lixmal lixmal commented Dec 24, 2024

Describe your changes

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@lixmal lixmal marked this pull request as ready for review December 24, 2024 13:33
@lixmal lixmal force-pushed the allow-inbound-rosenpass branch from 2836424 to 29e311a Compare December 24, 2024 13:36
@lixmal lixmal force-pushed the allow-inbound-rosenpass branch from 29e311a to 61bd7c5 Compare December 24, 2024 13:41
@mlsmaycon mlsmaycon requested a review from Copilot December 25, 2024 14:44
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

client/internal/engine.go:454

  • The parameter name 'error' is misleading and not used within the function. Consider removing it or renaming it to something meaningful.
func (e *Engine) initFirewall(error) error {

"",
); err != nil {
log.Errorf("failed to allow rosenpass interface traffic: %v", err)
return nil
Copy link
Preview

Copilot AI Dec 25, 2024

Choose a reason for hiding this comment

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

The function should return the actual error instead of nil when it fails to allow Rosenpass interface traffic.

Suggested change
return nil
return err

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
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.

1 participant