projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
8876: success? includes Canceled as well.
[arvados.git]
/
services
/
keepstore
/
volume_unix.go
diff --git
a/services/keepstore/volume_unix.go
b/services/keepstore/volume_unix.go
index edec048dfe5836701f821beefdc3d7b131777982..7aff85e59a4357acb1e27ce5386756feb96fa0e1 100644
(file)
--- a/
services/keepstore/volume_unix.go
+++ b/
services/keepstore/volume_unix.go
@@
-538,7
+538,7
@@
func (v *UnixVolume) translateError(err error) error {
}
}
}
}
-var
t
rashLocRegexp = regexp.MustCompile(`/([0-9a-f]{32})\.trash\.(\d+)$`)
+var
unixT
rashLocRegexp = regexp.MustCompile(`/([0-9a-f]{32})\.trash\.(\d+)$`)
// EmptyTrash walks hierarchy looking for {hash}.trash.*
// and deletes those with deadline < now.
// EmptyTrash walks hierarchy looking for {hash}.trash.*
// and deletes those with deadline < now.
@@
-554,7
+554,7
@@
func (v *UnixVolume) EmptyTrash() {
if info.Mode().IsDir() {
return nil
}
if info.Mode().IsDir() {
return nil
}
- matches :=
t
rashLocRegexp.FindStringSubmatch(path)
+ matches :=
unixT
rashLocRegexp.FindStringSubmatch(path)
if len(matches) != 3 {
return nil
}
if len(matches) != 3 {
return nil
}