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 some bugs #1795

Merged
merged 2 commits into from
Oct 24, 2022
Merged

Fix some bugs #1795

merged 2 commits into from
Oct 24, 2022

Conversation

VinceCui
Copy link
Collaborator

  1. support '|' for hook's scope
  2. fix clean /var/lib/kubelet device busy bug.

Signed-off-by: huaiyou [email protected]

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

1. support '|' for hook's scope
2. fix clean /var/lib/kubelet device busy bug.

Signed-off-by: huaiyou <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Base: 20.65% // Head: 20.61% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (e0f1121) compared to base (af43199).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1795      +/-   ##
==========================================
- Coverage   20.65%   20.61%   -0.04%     
==========================================
  Files          71       71              
  Lines        6545     6557      +12     
==========================================
  Hits         1352     1352              
- Misses       5012     5024      +12     
  Partials      181      181              
Impacted Files Coverage Δ
pkg/cluster-runtime/hook.go 4.13% <0.00%> (-0.38%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -151,6 +151,24 @@ func (i *Installer) runClusterHook(master0 net.IP, phase Phase) error {
return nil
}

// runClusterHook run cluster scope hook by Phase that means will only execute hook on master0.
Copy link
Member

Choose a reason for hiding this comment

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

pls add new comments for this func.

Signed-off-by: huaiyou <[email protected]>
Copy link
Member

@kakaZhou719 kakaZhou719 left a comment

Choose a reason for hiding this comment

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

LGTM

@kakaZhou719 kakaZhou719 merged commit 3f404f5 into sealerio:main Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants