-
Notifications
You must be signed in to change notification settings - Fork 555
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 sudo not work expected #1197
Conversation
@@ -62,10 +70,7 @@ func (n *NodePreCheck) Execute(runtime connector.Runtime) error { | |||
if err != nil || strings.Contains(res, "not found") { | |||
results[software] = "" | |||
} else { | |||
if strings.HasPrefix(cmd, "which") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't know why should modify here. Here, the result of docker
and containerd
will show their version.
Hi @yinheli |
Hi @yinheli Thanks again! |
@24sama Got |
while sudo package not installed, precheck not work expected kubesphere#1196
e0a1fb6
to
32e5918
Compare
@24sama Done, Thanks for your review. |
/lgtm |
LGTM label has been added. Git tree hash: b105dca4932151912ae5d1927c9c0940830878f2
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 24sama, yinheli 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 |
@all-contributors please add @yinheli for code |
I've put up a pull request to add @yinheli! 🎉 |
While sudo package not installed, precheck not work expected.
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #1196
Special notes for reviewers:
prepare test env:
Does this PR introduced a user-facing change?