networkservicemesh / api

Apache License 2.0
12 stars 21 forks source link

Fix GetPrefixIPNet func and delete unnecessary statements in strToIPNet func #175

Open NikitaSkrynnik opened 4 weeks ago

NikitaSkrynnik commented 4 weeks ago

Description

This PR deletes some unncessary lines](https://github.com/networkservicemesh/api/blob/main/pkg/api/networkservice/ipcontext_helpers.go#L169) from strToIPNet function and fixes GetPrefixIPNet function that depends on these lines.