admin: Don't consider .locked file as problematic
This commit is contained in:
parent
6407970dfa
commit
ac64db277a
@ -56,6 +56,10 @@ func getHealth(pathname string) (ret []healthFileReport) {
|
||||
if d.IsDir() && d.Name() != ".tmp" && d.Mode()&os.ModeSymlink == 0 {
|
||||
ret = append(ret, getHealth(p)...)
|
||||
} else if !d.IsDir() && d.Mode()&os.ModeSymlink == 0 && time.Since(d.ModTime()) > 2*time.Second {
|
||||
if d.Name() == ".locked" {
|
||||
continue
|
||||
}
|
||||
|
||||
teamDir := strings.TrimPrefix(pathname, TimestampCheck)
|
||||
idteam, _ := pki.GetAssociation(path.Join(TeamsDir, teamDir))
|
||||
ret = append(ret, healthFileReport{
|
||||
|
Loading…
Reference in New Issue
Block a user