This commit is contained in:
Alexis PIRES 2020-01-18 19:20:42 +01:00
parent 0f6384759f
commit f6ef90e3ab
2 changed files with 1 additions and 2 deletions

View File

@ -1426,7 +1426,7 @@ func TestObjAPI(t *testing.T) {
}
legacy, err := c.GetObj(counter1)
if err != nil {
t.Errorf("c.GetObj(counter1) failed: %v failed", err)
}

1
obj.go
View File

@ -66,7 +66,6 @@ func (cc *Conn) GetObjReset(o Obj) ([]Obj, error) {
return cc.getObj(nil, o.table(), unix.NFT_MSG_GETOBJ_RESET)
}
// GetObject gets the specified Object
func (cc *Conn) GetObject(o Obj) (Obj, error) {
objs, err := cc.getObj(o, o.table(), unix.NFT_MSG_GETOBJ)