-
Notifications
You must be signed in to change notification settings - Fork 40
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: join node's installCNI step failed. #193
Conversation
Signed-off-by: lixd <xueduan.li@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #193 +/- ##
=======================================
Coverage 13.00% 13.00%
=======================================
Files 105 105
Lines 16026 16026
=======================================
Hits 2084 2084
Misses 13691 13691
Partials 251 251
|
/cc @qinyer |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lixd, x893675 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 |
/lgtm |
LGTM label has been added. Git tree hash: 3e8e16c6f1fe7b513ff614940e2a0010bc58a836
|
Signed-off-by: lixd xueduan.li@gmail.com
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #192
Special notes for reviewers:
some step need latest step,s response ,so there is a check
and will generte
Status.Conditions[i-1].Status
bycond.Status := make([]v1.StepStatus, len(step.Nodes))
so,if step.Nodes == nil, len(cond.Status) is 0,and will retrun error on
if len(operation.Status.Conditions[i-1].Status) < 1
check.installCNI setp caller like this:
second args is nil.
installCNI setp like this:
In installCNI step,used second args as step.Nodes,so this will omit error.
and if click retry,will run from next step,so it success.
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: