diff options
author | Sebastien Devaux <sebastien.devaux@laposte.net> | 2019-01-04 12:27:03 +0100 |
---|---|---|
committer | Sebastien Devaux <sebastien.devaux@laposte.net> | 2019-01-04 12:27:03 +0100 |
commit | 76386720fe4ce6af615cc9e488fad9e6cf125957 (patch) | |
tree | dcba9901f5d91ac95a4fdf2a4799482354e843ac | |
parent | 171acad6194dc1ceecca36d3d50795d5c84985d1 (diff) | |
download | git-bug-76386720fe4ce6af615cc9e488fad9e6cf125957.tar.gz |
Issue #87: use same id format function in snapshot.go than in bug.go
-rw-r--r-- | bug/snapshot.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |