Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix go get in Makefile with go 1.18 #1036

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

astraw99
Copy link
Contributor

@astraw99 astraw99 commented Jul 24, 2022

Ⅰ. Describe what this PR does

From the Go 1.18 release notes, we know that the go get -d is enabled by default,
then the target package binary will not install.

So this PR fix it to work well both below or above go 1.18 by using go install instead of go get.

Ⅱ. Does this pull request fix one issue?

fixes #1035

Ⅲ. Describe how to verify it

Change to defferent go version, like go 1.17 and go 1.18, make manifests will both work ok.

Ⅳ. Special notes for reviews

Updated kustomize version to make the go install work ok on go 1.18.

@kruise-bot kruise-bot requested review from Fei-Guo and furykerry July 24, 2022 05:05
@kruise-bot kruise-bot added the size/XS size/XS: 0-9 label Jul 24, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jul 24, 2022

Codecov Report

Merging #1036 (acbc2a9) into master (fa8abc4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1036   +/-   ##
=======================================
  Coverage   49.20%   49.20%           
=======================================
  Files         124      124           
  Lines       12259    12259           
=======================================
  Hits         6032     6032           
  Misses       5307     5307           
  Partials      920      920           
Flag Coverage Δ
unittests 49.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us.

Signed-off-by: astraw99 <wangchengiscool@gmail.com>
Copy link
Member

@FillZpp FillZpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@kruise-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FillZpp, hantmac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kruise-bot kruise-bot merged commit a4abaa5 into openkruise:master Jul 25, 2022
diannaowa pushed a commit to diannaowa/kruise that referenced this pull request Sep 14, 2022
Signed-off-by: astraw99 <wangchengiscool@gmail.com>
Signed-off-by: Liu Zhenwei <zwliu@thoughtworks.com>
ppbits pushed a commit to ppbits/kruise that referenced this pull request Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Makefile works fail on go 1.18
5 participants