Wrap firewall errors in a common struct#899
Open
mjholub wants to merge 10 commits intoevilsocket:masterfrom
Open
Wrap firewall errors in a common struct#899mjholub wants to merge 10 commits intoevilsocket:masterfrom
mjholub wants to merge 10 commits intoevilsocket:masterfrom
Conversation
Collaborator
|
there're a couple of errors here: err4 and err6 are not defined. Something in the line of Also "not enough return values" error here (func expects 2 values: nil, nil): opensnitch/daemon/firewall/nftables/system.go Line 138 in bd8e6ff and "common" package is not used error: |
Contributor
Author
|
Seems like I've botched something when bisecting this with my other feature branch. It's my fault and I'll fix this. My apologies. |
Contributor
|
Any progress here ? |
Contributor
Author
|
I'll take a look |
1bbd057 to
0c32f1f
Compare
1e3620c to
5109254
Compare
Contributor
Author
|
Fixed. Ran the tests locally, they fail in the UI package, not sure why as I haven't touched it and they only print the cgo warninigs about deprecated dependencies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This allows a little bit of more flexibility since now there is only one return value instead of two. The underlying logic stays the same.
Also unrelated, but I've noticed that you're not tracking go.sum. This isn't a good practice.