Skip to content

Commit 437077f

Browse files
author
Wilfried OLLIVIER
committed
Fix #54: add service name in status badge
1 parent 2ab0463 commit 437077f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

badge/badge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func StatusBadge(s storage.Storage, latest bool) func(http.ResponseWriter, *http
6868
t, err := s.GetByCommit(service, project, branch, commit, latest)
6969

7070
if t == nil || err != nil {
71-
err = WriteBadge("status", "?!", Colors.Default, w)
71+
err = WriteBadge(fmt.Sprintf("status : %s", service), "?!", Colors.Default, w)
7272
if err != nil {
7373
panic(err)
7474
}

0 commit comments

Comments
 (0)