AUTH-2021 - check error for failing tests
This commit is contained in:
parent
93a9504824
commit
f41121f4e5
|
@ -69,7 +69,7 @@ func (m *DirectoryUploadManager) run() {
|
||||||
// sweep the directory and kick off uploads
|
// sweep the directory and kick off uploads
|
||||||
func (m *DirectoryUploadManager) sweep() {
|
func (m *DirectoryUploadManager) sweep() {
|
||||||
filepath.Walk(m.rootDirectory, func(path string, info os.FileInfo, err error) error {
|
filepath.Walk(m.rootDirectory, func(path string, info os.FileInfo, err error) error {
|
||||||
if info.IsDir() {
|
if err != nil || info.IsDir() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
//30 days ago
|
//30 days ago
|
||||||
|
|
Loading…
Reference in New Issue