rancher / charts-build-scripts

Apache License 2.0
9 stars 32 forks source link

Fixing asset validation list #105

Closed lucasmlp closed 1 year ago

lucasmlp commented 1 year ago

When logging discrepancies, the code prints the following lists:

I noticed that RemovedPostRelease and ModifiedPostRelease were always the same, in case of an error. This happened because ModifiedPostRelease was being assigned the value of RemovedPostRelease. If I remove chart A and modify chart B, RemovedPostRelease should contain only chart A, and ModifiedPostRelease should contain only chart B. That wasn't the actual result. The actual result was both lists containing both charts. This modification fixes it.