mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 16:39:58 +00:00
AUTH-1943 hooked up uploader to logger, added timestamp to session logs, add tests
This commit is contained in:
@@ -77,7 +77,7 @@ func (m *DirectoryUploadManager) sweep() {
|
||||
checkTime := time.Now().Add(-time.Duration(retentionTime))
|
||||
|
||||
//delete the file it is stale
|
||||
if info.ModTime().After(checkTime) {
|
||||
if info.ModTime().Before(checkTime) {
|
||||
os.Remove(path)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user