Merge pull request #31409 from Random-Liu/fix-verify-golint-sort-hint

Automatic merge from submit-queue

Fix sort hint in `hack/verify-golint.sh`

The `verify-golint.sh` sorts all items with `LANG=C sort`, but it only hints developers to use `sort`, which causes a little trouble for me.

/cc @jfrazelle  @sttts
This commit is contained in:
Kubernetes Submit Queue 2016-08-25 14:07:01 -07:00 committed by GitHub
commit a143cdd072

View File

@ -44,7 +44,7 @@ if ! diff -u "${linted_file}" <(LANG=C sort "${linted_file}"); then
echo echo
echo "hack/.linted_packages is not in alphabetical order. Please sort it:" echo "hack/.linted_packages is not in alphabetical order. Please sort it:"
echo echo
echo " sort -o hack/.linted_packages hack/.linted_packages" echo " LANG=C sort -o hack/.linted_packages hack/.linted_packages"
echo echo
} >&2 } >&2
false false