Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
6b7ccc9a
Commit
6b7ccc9a
authored
Dec 26, 2018
by
Sen Lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always use golint from vendor
parent
f2604ddc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
verify-golint.sh
hack/verify-golint.sh
+9
-9
No files found.
hack/verify-golint.sh
View file @
6b7ccc9a
...
@@ -23,15 +23,15 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
...
@@ -23,15 +23,15 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
kube::golang::verify_go_version
kube::golang::verify_go_version
if
!
which golint
>
/dev/null
;
then
# Ensure that we find the binaries we build before anything else.
# Ensure that we find the binaries we build before anything else.
export
GOBIN
=
"
${
KUBE_OUTPUT_BINPATH
}
"
export
GOBIN
=
"
${
KUBE_OUTPUT_BINPATH
}
"
PATH
=
"
${
GOBIN
}
:
${
PATH
}
"
PATH
=
"
${
GOBIN
}
:
${
PATH
}
"
# Install golint from vendor
# Install golint from vendor
echo
'Can not find golint, installing
from vendor'
echo
'installing golint
from vendor'
go
install
k8s.io/kubernetes/vendor/golang.org/x/lint/golint
go
install
k8s.io/kubernetes/vendor/golang.org/x/lint/golint
fi
cd
"
${
KUBE_ROOT
}
"
cd
"
${
KUBE_ROOT
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment