mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
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:
commit
a143cdd072
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user