Docker image (#22)
- Config file now is inside a config folder by default, to make easier docker integration. - File not found errors now are debug log outputs. - Added dependabot integration for github action versions. Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
8882d80232
commit
0a4438b1ad
7 changed files with 126 additions and 5 deletions
fuse
|
@ -26,7 +26,7 @@ func NewFS(fss []fs.Filesystem) fuse.FileSystemInterface {
|
|||
func (fs *FS) Open(path string, flags int) (errc int, fh uint64) {
|
||||
fh, err := fs.fh.OpenHolder(path)
|
||||
if err == os.ErrNotExist {
|
||||
logrus.WithField("path", path).Warn("file does not exists")
|
||||
logrus.WithField("path", path).Debug("file does not exists")
|
||||
return -fuse.ENOENT, fhNone
|
||||
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ func (cfs *FS) Getattr(path string, stat *fuse.Stat_t, fh uint64) (errc int) {
|
|||
|
||||
file, err := cfs.fh.GetFile(path, fh)
|
||||
if err == os.ErrNotExist {
|
||||
logrus.WithField("path", path).Warn("file does not exists")
|
||||
logrus.WithField("path", path).Debug("file does not exists")
|
||||
return -fuse.ENOENT
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue