Issue #87: use same id format function in snapshot.go than in bug.go

Sebastien Devaux created

Change summary

bug/snapshot.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

bug/snapshot.go 🔗

@@ -30,7 +30,7 @@ func (snap *Snapshot) Id() string {
 
 // Return the Bug identifier truncated for human consumption
 func (snap *Snapshot) HumanId() string {
-	return fmt.Sprintf("%.8s", snap.id)
+	return FormatHumanID(snap.id)
 }
 
 // Deprecated:should be moved in UI code