From 76386720fe4ce6af615cc9e488fad9e6cf125957 Mon Sep 17 00:00:00 2001 From: Sebastien Devaux Date: Fri, 4 Jan 2019 12:27:03 +0100 Subject: Issue #87: use same id format function in snapshot.go than in bug.go --- bug/snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bug') diff --git a/bug/snapshot.go b/bug/snapshot.go index 1004b625..72e673d4 100644 --- a/bug/snapshot.go +++ b/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 -- cgit