Skip to content

fix lint warnings#13

Open
yihuang wants to merge 1 commit intotidwall:masterfrom
yihuang:master
Open

fix lint warnings#13
yihuang wants to merge 1 commit intotidwall:masterfrom
yihuang:master

Conversation

@yihuang
Copy link
Copy Markdown

@yihuang yihuang commented Feb 8, 2023

No description provided.

Comment thread wal.go
// load all the segments. This operation also cleans up any START/END segments.
func (l *Log) load() error {
fis, err := ioutil.ReadDir(l.path)
fis, err := os.ReadDir(l.path)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is using go version 1.13 which os.ReadDir function doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants