We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all.
If there're not any OpenvSwitch in the system but the length of the return value of VSwitch.ListBridges() is 1 not zero.
VSwitch.ListBridges()
I think that is caused by the strings.Split and you can find it below.
strings.Split
go-openvswitch/ovs/vswitch.go
Lines 85 to 93 in 56e8160
Do we need to fix it by return a empty string array if the output of list-br is empty string?
list-br
Thanks.
The text was updated successfully, but these errors were encountered:
Yep, that makes sense to me!
Sorry, something went wrong.
Same here. Fix this #54 to return the empty array. :)
Has fixed, thanks
No branches or pull requests
Hi all.
If there're not any OpenvSwitch in the system but the length of the return value of
VSwitch.ListBridges()
is 1 not zero.I think that is caused by the
strings.Split
and you can find it below.go-openvswitch/ovs/vswitch.go
Lines 85 to 93 in 56e8160
Do we need to fix it by return a empty string array if the output of
list-br
is empty string?Thanks.
The text was updated successfully, but these errors were encountered: