chore: update roadmap (#1948)

This commit is contained in:
Kevin Wan
2022-06-02 09:28:29 +08:00
committed by GitHub
parent 65098d4737
commit 321a20add6
4 changed files with 6 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ func (f *Filter) Exists(data []byte) (bool, error) {
if err != nil {
return false, err
}
return isSet, nil
}

View File

@@ -98,6 +98,10 @@ func TestRotateLoggerRotate(t *testing.T) {
case *os.LinkError:
// avoid rename error on docker container
assert.Equal(t, syscall.EXDEV, v.Err)
case *os.PathError:
// ignore remove error for tests,
// files are cleaned in GitHub actions.
assert.Equal(t, "remove", v.Op)
default:
assert.Nil(t, err)
}