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

add debug msg for checksum #295

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

ZihanJiang96
Copy link
Member

No description provided.

@ZihanJiang96 ZihanJiang96 requested a review from a team as a code owner October 25, 2023 21:28
@ZihanJiang96 ZihanJiang96 marked this pull request as draft October 25, 2023 21:28
@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

Merging #295 (e72f1ab) into master (ef27eb5) will decrease coverage by 0.46%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #295      +/-   ##
==========================================
- Coverage   56.20%   55.74%   -0.46%     
==========================================
  Files          14       14              
  Lines        1893     1896       +3     
==========================================
- Hits         1064     1057       -7     
- Misses        715      723       +8     
- Partials      114      116       +2     
Files Coverage Δ
controllers/addon_controller.go 53.10% <100.00%> (-2.15%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -126,6 +126,10 @@ func (r *AddonReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl
return reconcile.Result{}, ignoreNotFound(err)
}

// Log the addon spec and the checksum
changedStatus, newChecksum := r.validateChecksum(instance)
Copy link
Collaborator

@kevdowney kevdowney Oct 25, 2023

Choose a reason for hiding this comment

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

This is the first thing we already do in processAddon

changedStatus, instance.Status.Checksum = r.validateChecksum(instance)

log.Info("Checksum changed, addon will be installed...")

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.

2 participants