Skip to content

Commit

Permalink
test: fix golint
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Apr 29, 2023
1 parent 0c0a28c commit 3bea767
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions iscsi/iscsi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ import (
"github.com/stretchr/testify/assert"
)

type testWriter struct {
data *[]byte
}

func (w testWriter) Write(data []byte) (n int, err error) {
*w.data = append(*w.data, data...)
return len(data), nil
}

const nodeDB = `
# BEGIN RECORD 6.2.0.874
node.name = iqn.2010-10.org.openstack:volume-eb393993-73d0-4e39-9ef4-b5841e244ced
Expand Down

0 comments on commit 3bea767

Please sign in to comment.