diff --git a/pkg/store/tsdb_test.go b/pkg/store/tsdb_test.go index a0e8f29ddf..3b1483f194 100644 --- a/pkg/store/tsdb_test.go +++ b/pkg/store/tsdb_test.go @@ -73,7 +73,7 @@ func TestTSDBStore_LabelNames(t *testing.T) { { title: "add another label", labels: []string{"bar", "bar"}, - // we will get two labels here + // We will get two labels here. expectedNames: []string{"bar", "foo"}, }, } { diff --git a/scripts/build-check-comments.sh b/scripts/build-check-comments.sh index 8ca6cfc2f3..9648d44de5 100755 --- a/scripts/build-check-comments.sh +++ b/scripts/build-check-comments.sh @@ -94,12 +94,15 @@ function check_comments { # option is used and a selected line is found. if test "0" == "${res}" # found something then - printf "\n\n\n Error: Found comments without trailing period. Comments has to be full sentences.\n\n\n." + printf "\n\n\n Error: Found comments without trailing period. Comments has to be full sentences.\n\n\n" + exit 1 elif test "1" == "${res}" # nothing found, all clear then printf "\n\n\n All comment formatting is good, Spartan.\n\n\n" + exit 0 else # grep error printf "\n\n\n Hmmm something didn't work, issues with grep?.\n\n\n" + exit 2 fi }