Merge pull request #39045 from justinsb/hippocrazy

Automatic merge from submit-queue (batch tested with PRs 35805, 36972, 39045)

Fix spelling in package naming linter error message

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2016-12-20 14:52:48 -08:00 committed by GitHub
commit 4474263a26
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ kube::golang::verify_go_version
cd "${KUBE_ROOT}" cd "${KUBE_ROOT}"
if git --no-pager grep -E $'^(import |\t)[a-z]+[A-Z_][a-zA-Z]* "[^"]+"$' -- '**/*.go' ':(exclude)vendor/*' ':(exclude)staging/*'; then if git --no-pager grep -E $'^(import |\t)[a-z]+[A-Z_][a-zA-Z]* "[^"]+"$' -- '**/*.go' ':(exclude)vendor/*' ':(exclude)staging/*'; then
echo "!!! Some package aliase break go conventions." echo "!!! Some package aliases break go conventions."
echo "To fix these errors, do not use capitalizaed or underlined characters" echo "To fix these errors, do not use capitalized or underlined characters"
echo "in pkg aliases. Refer to https://blog.golang.org/package-names for more info." echo "in pkg aliases. Refer to https://blog.golang.org/package-names for more info."
exit 1 exit 1
fi fi

View File

@ -65,8 +65,8 @@ echo "${reset}"
echo -ne "Checking for package aliases... " echo -ne "Checking for package aliases... "
if ! hack/verify-pkg-names.sh > /dev/null; then if ! hack/verify-pkg-names.sh > /dev/null; then
echo "${red}ERROR!" echo "${red}ERROR!"
echo "Some package aliase break go conventions. To fix these errors, " echo "Some package aliases break go conventions. To fix these errors, "
echo "do not use capitalizaed or underlined characters in pkg aliases. " echo "do not use capitalized or underlined characters in pkg aliases. "
echo "Refer to https://blog.golang.org/package-names for more info." echo "Refer to https://blog.golang.org/package-names for more info."
exit_code=1 exit_code=1
else else