-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Consolidate CopyFile functions #8079
Conversation
Signed-off-by: Derek Nola <derek.nola@suse.com>
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.
Nice catch
Signed-off-by: Derek Nola <derek.nola@suse.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #8079 +/- ##
==========================================
+ Coverage 47.07% 51.62% +4.55%
==========================================
Files 143 143
Lines 14561 14586 +25
==========================================
+ Hits 6854 7530 +676
+ Misses 6614 5853 -761
- Partials 1093 1203 +110
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
* Consolidate CopyFile function Signed-off-by: Derek Nola <derek.nola@suse.com> * Copy to File, not destination folder Signed-off-by: Derek Nola <derek.nola@suse.com> --------- Signed-off-by: Derek Nola <derek.nola@suse.com>
* Consolidate CopyFile function Signed-off-by: Derek Nola <derek.nola@suse.com> * Copy to File, not destination folder Signed-off-by: Derek Nola <derek.nola@suse.com> --------- Signed-off-by: Derek Nola <derek.nola@suse.com>
* Consolidate CopyFile function Signed-off-by: Derek Nola <derek.nola@suse.com> * Copy to File, not destination folder Signed-off-by: Derek Nola <derek.nola@suse.com> --------- Signed-off-by: Derek Nola <derek.nola@suse.com>
Proposed Changes
We had two nearly identical
CopyFile
functions in the K3s codebase. This PR consolidates them into one function.Types of Changes
DRY
Verification
Testing
Linked Issues
TBD
User-Facing Change
Further Comments