We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
版本release-v1.5 pipelines 如下
pipelines:
控制台中一直没有打印出来日志,在pkg/util/file.go GlobWithRecursive函数返回处加了日志打印匹配的路径,显示空列表
查看函数中使用的xglob.SplitPattern(pattern),函数内按照/路径符来找到baseDir和pattern,显然是有问题的,这里需要先对pattern执行pattern = filepath.ToSlash(pattern),再传入xglob.SplitPattern,实测修改后能扫描到windows下路径
The text was updated successfully, but these errors were encountered:
No branches or pull requests
版本release-v1.5
pipelines 如下
pipelines:
readFromTail: false
charset: "utf-8"
paths:
cleanFiles: {}
name: "windows-path"
type: "file"
sink:
type: dev
printEvents: true
控制台中一直没有打印出来日志,在pkg/util/file.go GlobWithRecursive函数返回处加了日志打印匹配的路径,显示空列表
查看函数中使用的xglob.SplitPattern(pattern),函数内按照/路径符来找到baseDir和pattern,显然是有问题的,这里需要先对pattern执行pattern = filepath.ToSlash(pattern),再传入xglob.SplitPattern,实测修改后能扫描到windows下路径
The text was updated successfully, but these errors were encountered: