Skip to content

Commit

Permalink
image-layers: remove dash from left side of badge
Browse files Browse the repository at this point in the history
As discussed in #538
  • Loading branch information
espadrine committed Nov 11, 2015
1 parent 0c24199 commit b29e3af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4316,6 +4316,7 @@ cache(function(data, match, sendBadge, request) {
try {
if (type == 'image-size') {
size = metric(buffer[0].repo.size) + "B";
badgeData.text[0] = 'image size';
badgeData.text[1] = size;
} else if (type == 'layers') {
badgeData.text[1] = buffer[0].repo.count;
Expand Down

0 comments on commit b29e3af

Please sign in to comment.