Skip to content

Conversation

@yihuang
Copy link

@yihuang yihuang commented Feb 8, 2023

No description provided.

// 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)

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