aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/manager/crash.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/manager/crash.go')
-rw-r--r--pkg/manager/crash.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/manager/crash.go b/pkg/manager/crash.go
index 5edc9f5a9..56142695a 100644
--- a/pkg/manager/crash.go
+++ b/pkg/manager/crash.go
@@ -306,11 +306,11 @@ func (cs *CrashStore) BugList() ([]*BugInfo, error) {
return ret, nil
}
-func (cs *CrashStore) titleToID(title string) string {
+func crashHash(title string) string {
sig := hash.Hash([]byte(title))
return sig.String()
}
func (cs *CrashStore) path(title string) string {
- return filepath.Join(cs.BaseDir, "crashes", cs.titleToID(title))
+ return filepath.Join(cs.BaseDir, "crashes", crashHash(title))
}