-
Notifications
You must be signed in to change notification settings - Fork 592
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
refactor(orc8r): Remove proto.Clone calls #14029
Merged
MoritzThomasHuebner
merged 8 commits into
magma:master
from
MoritzThomasHuebner:remove_proto_clone_calls
Sep 29, 2022
Merged
refactor(orc8r): Remove proto.Clone calls #14029
MoritzThomasHuebner
merged 8 commits into
magma:master
from
MoritzThomasHuebner:remove_proto_clone_calls
Sep 29, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pull-request-size
bot
added
the
size/L
Denotes a Pull Request that changes 100-499 lines.
label
Sep 28, 2022
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
MoritzThomasHuebner
changed the title
refactor(orc8r): Minor improvements to sql.go
refactor(orc8r): Remove proto.Clone calls
Sep 28, 2022
- Remove proto.Clone calls from sql.go - Added some missing commas to comments - Changed empty slice creation using literals to nil slice declaration Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
MoritzThomasHuebner
force-pushed
the
remove_proto_clone_calls
branch
from
September 28, 2022 03:30
d3146d3
to
3cd4e74
Compare
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
…rs.go Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
sebathomas
approved these changes
Sep 28, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
pruthvihebbani
pushed a commit
to pruthvihebbani/magma
that referenced
this pull request
Oct 10, 2022
* refactor(orc8r): Minor improvements to sql.go - Remove proto.Clone calls from sql.go - Added some missing commas to comments - Changed empty slice creation using literals to nil slice declaration Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> * refactor(orc8r): Remove proto.Clone calls from sql_test.go Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> * refactor(orc8r): Remove proto.Clone calls from client_api.go Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> * refactor(orc8r): Remove proto.Clone calls from sql_entity_write_helpers.go Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> * refactor(orc8r): Remove proto.Clone calls from storage.go Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> * refactor(orc8r): Remove proto.Clone calls from sql_integ_test.go Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> * refactor(orc8r): Revert changes in sql_integ_test.go Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> * refactor(orc8r): Revert changes to import order Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com> Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component: orc8r
Orchestrator-related issue
size/L
Denotes a Pull Request that changes 100-499 lines.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #13698
Summary
proto.Clone
calls from the orc8r by passing references.Test Plan
Run unit tests.
Additional Information
The remaining uses of
proto.Clone
in the orc8r are necessary.I also checked occurrences of
proto.Clone
in the FeG, but these all appear to be required.