go fmt
This commit is contained in:
parent
0f6384759f
commit
f6ef90e3ab
|
@ -1426,7 +1426,7 @@ func TestObjAPI(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
legacy, err := c.GetObj(counter1)
|
legacy, err := c.GetObj(counter1)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("c.GetObj(counter1) failed: %v failed", err)
|
t.Errorf("c.GetObj(counter1) failed: %v failed", err)
|
||||||
}
|
}
|
||||||
|
|
1
obj.go
1
obj.go
|
@ -66,7 +66,6 @@ func (cc *Conn) GetObjReset(o Obj) ([]Obj, error) {
|
||||||
return cc.getObj(nil, o.table(), unix.NFT_MSG_GETOBJ_RESET)
|
return cc.getObj(nil, o.table(), unix.NFT_MSG_GETOBJ_RESET)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// GetObject gets the specified Object
|
// GetObject gets the specified Object
|
||||||
func (cc *Conn) GetObject(o Obj) (Obj, error) {
|
func (cc *Conn) GetObject(o Obj) (Obj, error) {
|
||||||
objs, err := cc.getObj(o, o.table(), unix.NFT_MSG_GETOBJ)
|
objs, err := cc.getObj(o, o.table(), unix.NFT_MSG_GETOBJ)
|
||||||
|
|
Loading…
Reference in New Issue