-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add *Conn.ListHeader to retrieve stats about ipsets #6
base: v2
Are you sure you want to change the base?
Conversation
Also expanded SetPolicy to include returned CreateData and expanded CreateData to include kernel-originated fields.
conn_test.go
Outdated
@@ -298,6 +298,45 @@ func TestConn_List(t *testing.T) { | |||
m.AssertExpectations(t) | |||
} | |||
|
|||
func TestConn_ListHeader(t *testing.T) { | |||
assert2 := assert.New(t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use assert := assert.New(t)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like all instances in the file changed? Every other use is assert2 := assert.New(t)
.
What's the likelihood of getting this merged and released soonish? |
Any chance for a re-review sometime soon? |
Also expanded
SetPolicy
to include returnedCreateData
and expandedCreateData
to include kernel-originated fields.