Skip to content

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Dec 11, 2021

Signed-off-by: Alexander Matyushentsev AMatyushentsev@gmail.com

Followup fix for #7899 . To avoid the reporting diff after switching to new tracking method the normalization process drops expected label from live resource. If it is last label the normalization should drop label field altogether.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@alexmt alexmt requested a review from mayzhang2000 December 11, 2021 18:43
Copy link
Contributor

@mayzhang2000 mayzhang2000 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Dec 11, 2021

Codecov Report

Merging #7909 (56de517) into master (e483507) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7909      +/-   ##
==========================================
- Coverage   41.47%   41.47%   -0.01%     
==========================================
  Files         169      169              
  Lines       22328    22331       +3     
==========================================
+ Hits         9260     9261       +1     
- Misses      11744    11745       +1     
- Partials     1324     1325       +1     
Impacted Files Coverage Δ
util/kube/kube.go 70.14% <50.00%> (-1.73%) ⬇️
util/settings/settings.go 47.60% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e483507...56de517. Read the comment docs.

@alexmt alexmt merged commit 0a792fe into argoproj:master Dec 11, 2021
@alexmt alexmt deleted the resource-tracking-normalize branch December 11, 2021 19:19
alexmt pushed a commit that referenced this pull request Dec 13, 2021
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
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