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

CLOUDP-225849: add merging logic #10

Merged
merged 10 commits into from Mar 14, 2024
Merged

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Mar 13, 2024

Proposed changes

Jira ticket: CLOUDP-225849

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works

Further comments

Next Steps

  • Adding the unit tests for the remaining merge functions

@andreaangiolillo andreaangiolillo marked this pull request as ready for review March 14, 2024 09:11
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner March 14, 2024 09:11
@andreaangiolillo andreaangiolillo marked this pull request as draft March 14, 2024 12:29
@andreaangiolillo andreaangiolillo marked this pull request as ready for review March 14, 2024 14:49
}

if o.base == nil || o.base.Spec == nil {
*o.base = *o.external
Copy link
Collaborator

Choose a reason for hiding this comment

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

instead of pointer here make the receiver of the method a pointer, this is the preferred practice, also it's a code smell to mix pointer and non pointer receivers so they all should be pointers then

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated

@andreaangiolillo andreaangiolillo merged commit f1c5c21 into main Mar 14, 2024
2 checks passed
@andreaangiolillo andreaangiolillo deleted the CLOUDP-225849_followup branch March 14, 2024 16:11
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.

None yet

2 participants