Skip to content

fix(pkg/storage/driver): use shallowReleaseEqual() - #5706

Merged
bacongobbler merged 1 commit into
helm:masterfrom
bacongobbler:fix-5371
May 9, 2019
Merged

bacongobbler merged 1 commit into
helm:masterfrom
bacongobbler:fix-5371

Conversation

@bacongobbler

Copy link
Copy Markdown
Member

as noted by @mortent in #5699, using reflect.DeepEqual no longer works with the updated go types as protobuf adds some extra fields. This PR replaces the DeepEqual with a shallow equal for release objects that only checks some of the fields.

Addresses the comments made in #5371, fixing the failing tests in master.

@bacongobbler bacongobbler added this to the 2.14.0 milestone May 9, 2019
@helm-bot helm-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 9, 2019
@bacongobbler bacongobbler mentioned this pull request May 9, 2019
3 tasks done

@SlickNik SlickNik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍 Looks good to me. Thanks @bacongobbler!

@bacongobbler
bacongobbler merged commit 638fe8d into helm:master May 9, 2019
@bacongobbler
bacongobbler deleted the fix-5371 branch May 9, 2019 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants