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

rsync: cmd: enclose IPv6 hosts in brackets #74

Merged
merged 1 commit into from Aug 25, 2021

Conversation

Frankkkkk
Copy link
Contributor

@Frankkkkk Frankkkkk commented Aug 16, 2021

Signed-off-by: Frank Villaro-Dixon frank.villaro@infomaniak.com

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Hi utkuozdemir,

Here's a small MR to handle IPv6 SVCs.

I wanted to to the change inside the template directly but my knowledge of go and the html lib is not excellent. The workaround is not so bad anyways.

Cheers and thanks for your project !

@utkuozdemir
Copy link
Owner

Hi, thanks for the PR.
Did you try it? Can you see if we can add an integration test for this? It seems kind supports IPv6 dual-stack: https://kind.sigs.k8s.io/docs/user/configuration/#ip-family

Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
@Frankkkkk
Copy link
Contributor Author

Hi,
to be frank I don't really see the point of a complete integration test, nor do I have the golang-competence to do implement them.

As for the testing, it solves my problem on v6 only clusters.

Cheers

@utkuozdemir
Copy link
Owner

The base for the integration tests is already there: https://github.com/utkuozdemir/pv-migrate/blob/master/internal/integrationtest/app_test.go

I would rather add one test to verify an ipv6 migration before merging this.
I can look into adding one when I have some time.
Until I do that and make a release with this included, you can use your build.

Thanks

@utkuozdemir utkuozdemir merged commit 021c26b into utkuozdemir:master Aug 25, 2021
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.

None yet

2 participants