Skip to content

Commit

Permalink
map: remove stray fmt.Println
Browse files Browse the repository at this point in the history
  • Loading branch information
lmb committed Feb 23, 2021
1 parent 847ab24 commit 29d1a38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion map.go
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ func (m *Map) batchLookup(cmd internal.BPFCmd, startKey, nextKeyOut, keysOut, va
nextPtr, nextBuf := makeBuffer(nextKeyOut, int(m.keySize))

ct, err := bpfMapBatch(cmd, m.fd, startPtr, nextPtr, keyPtr, valuePtr, uint32(count), opts)
fmt.Println(err)
if err != nil {
if !errors.Is(err, ErrKeyNotExist) {
return 0, err
Expand Down

0 comments on commit 29d1a38

Please sign in to comment.