Fix parameter naming inconsistencies in WSLAContainerLauncher#13911
Fix parameter naming inconsistencies in WSLAContainerLauncher#13911ptrivedi merged 3 commits intouser/ptrivedi/cont-network-modefrom
Conversation
…ing consistency Co-authored-by: ptrivedi <1638019+ptrivedi@users.noreply.github.com>
|
@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 <17727402+benhillis@users.noreply.github.com>
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.