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
152226c5
Unverified
Commit
152226c5
authored
Jan 09, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Jan 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71198 from cofyc/go1.11-GOFLAGS-env
No need to pass GOFLAGS to $goflags variables with go 1.11
parents
97d77950
ce22322e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
golang.sh
hack/lib/golang.sh
+0
-2
test.sh
hack/make-rules/test.sh
+0
-1
vet.sh
hack/make-rules/vet.sh
+0
-3
No files found.
hack/lib/golang.sh
View file @
152226c5
...
...
@@ -685,9 +685,7 @@ kube::golang::build_binaries() {
local
host_platform
host_platform
=
$(
kube::golang::host_platform
)
# Use eval to preserve embedded quoted strings.
local
goflags goldflags goasmflags gogcflags
eval
"goflags=(
${
GOFLAGS
:-}
)"
goldflags
=
"
${
GOLDFLAGS
:-}
-s -w
$(
kube::version::ldflags
)
"
goasmflags
=
"-trimpath=
${
KUBE_ROOT
}
"
gogcflags
=
"
${
GOGCFLAGS
:-}
-trimpath=
${
KUBE_ROOT
}
"
...
...
hack/make-rules/test.sh
View file @
152226c5
...
...
@@ -175,7 +175,6 @@ done
shift
$((
OPTIND
-
1
))
# Use eval to preserve embedded quoted strings.
eval
"goflags=(
${
GOFLAGS
:-}
)"
eval
"testargs=(
${
KUBE_TEST_ARGS
:-}
)"
# Used to filter verbose test output.
...
...
hack/make-rules/vet.sh
View file @
152226c5
...
...
@@ -35,9 +35,6 @@ fi
# See https://github.com/golang/go/issues/16086 for details.
go
install
./cmd/...
# Use eval to preserve embedded quoted strings.
eval
"goflags=(
${
GOFLAGS
:-}
)"
# Filter out arguments that start with "-" and move them to goflags.
targets
=()
for
arg
;
do
...
...
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