Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
➡️ I want set macPrefix but got error:
> {"level":"ERROR","ts":"2023-08-31T17:06:07.128+0800","caller":"networking/mac.go:52","msg":"failed to ParsePrefix","Action":"Add","ContainerID":"740978ee3c4f8de88d35f44eee0b5ef5aa5333d95531697eaae84984e4ad537b","PodUID":"885ef2ab-132e-4241-8e2e-f290c7192bae","PodName":"sre-demo-769965497c-xqtlp","PodNamespace":"default","IfName":"eth0","error":"netip.ParsePrefix("10.246.132.202"): no '/'"}
➡️ My net-attach-def:
➡️ Coordinator plugin is right:
https://github.com/spidernet-io/spiderpool/blob/main/pkg/networking/networking/mac.go
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: