Skip to content

Commit

Permalink
tools/etcd-dump-logs: address var-naming lint warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Valdes <[email protected]>
  • Loading branch information
ivanvc committed Apr 24, 2024
1 parent 7300abc commit fce8949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/etcd-dump-logs/etcd-dump-log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestEtcdDumpLogEntryType(t *testing.T) {

p := t.TempDir()

mustCreateWalLog(t, p)
mustCreateWALLog(t, p)

argtests := []struct {
name string
Expand Down Expand Up @@ -96,7 +96,7 @@ func TestEtcdDumpLogEntryType(t *testing.T) {

}

func mustCreateWalLog(t *testing.T, path string) {
func mustCreateWALLog(t *testing.T, path string) {
memberdir := filepath.Join(path, "member")
err := os.Mkdir(memberdir, 0744)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion tools/etcd-dump-logs/raw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

func Test_readRaw(t *testing.T) {
path := t.TempDir()
mustCreateWalLog(t, path)
mustCreateWALLog(t, path)
var out bytes.Buffer
readRaw(nil, walDir(path), &out)
assert.Equal(t,
Expand Down

0 comments on commit fce8949

Please sign in to comment.