aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/bug.go')
-rw-r--r--bug/bug.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/bug/bug.go b/bug/bug.go
index c8b7ae61..ed4717bf 100644
--- a/bug/bug.go
+++ b/bug/bug.go
@@ -571,12 +571,8 @@ func (bug *Bug) Id() string {
// HumanId return the Bug identifier truncated for human consumption
func (bug *Bug) HumanId() string {
- return formatHumanId(bug.Id())
-}
-
-func formatHumanId(id string) string {
format := fmt.Sprintf("%%.%ds", humanIdLength)
- return fmt.Sprintf(format, id)
+ return fmt.Sprintf(format, bug.Id())
}
// CreateLamportTime return the Lamport time of creation