-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix parameter naming inconsistencies in WSLAContainerLauncher #13911
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
Fix parameter naming inconsistencies in WSLAContainerLauncher #13911
Conversation
…ing consistency Co-authored-by: ptrivedi <[email protected]>
|
@copilot - are there other naming inconsistencies in this file? |
Yes, there's one more: the |
@copilot - ok fix that one too. |
Co-authored-by: benhillis <[email protected]>
Done in commit 2256d08. The |
87b7671 to
606dc8d
Compare
Summary of the Pull Request
Addresses naming inconsistencies in
WSLAContainerLauncher.handWSLAContainerLauncher.cpp. Constructor parameters now consistently use PascalCase throughout the file.PR Checklist
Detailed Description of the Pull Request / Additional comments
Renamed parameters in both header and implementation files to maintain PascalCase consistency:
1. WSLAContainerLauncher Constructor
WSLAContainerLauncher.h: Parameter declaration and default valueWSLAContainerLauncher.cpp: Parameter declaration and constructor initializer listBefore:
After:
2. RunningWSLAContainer Constructor
WSLAContainerLauncher.h: Parameter declarationWSLAContainerLauncher.cpp: Parameter declaration and constructor initializer listBefore:
RunningWSLAContainer(wil::com_ptr<IWSLAContainer>&& Container, std::vector<WSLA_PROCESS_FD>&& fds);After:
RunningWSLAContainer(wil::com_ptr<IWSLAContainer>&& Container, std::vector<WSLA_PROCESS_FD>&& Fds);Member variables (
m_fds,m_containerNetworkType) retain camelCase per project convention.Validation Steps Performed
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.