AUTH-2021 - check error for failing tests

This commit is contained in:
Dalton 2019-08-30 15:20:49 -05:00
parent 93a9504824
commit f41121f4e5
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func (m *DirectoryUploadManager) run() {
// sweep the directory and kick off uploads
func (m *DirectoryUploadManager) sweep() {
filepath.Walk(m.rootDirectory, func(path string, info os.FileInfo, err error) error {
if info.IsDir() {
if err != nil || info.IsDir() {
return nil
}
//30 days ago