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

Adding default port value if not provided. #369

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

Zshan0
Copy link
Contributor

@Zshan0 Zshan0 commented Jun 19, 2022

Currently, the Installer gives a warning:

Invalid format for a socket address

If the entered host address at "Coordinator information" does not contain the port. Since there exists a default port that must be used if not provided, the GUI must try using it.

The issue was raised in #250 and this PR closes it.

Rather than throwing error for invalid host address due to missing port,
default port is inserted at the end and validity is checked again.

Added tests for the same.
Copy link
Member

@edouardparis edouardparis left a comment

Choose a reason for hiding this comment

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

ACK a5178a3

@edouardparis edouardparis merged commit 7ac8b12 into revault:master Jul 4, 2022
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