diff --git a/src/windows/wslaservice/exe/WSLAContainer.cpp b/src/windows/wslaservice/exe/WSLAContainer.cpp index 6be65e6..c32dc02 100644 --- a/src/windows/wslaservice/exe/WSLAContainer.cpp +++ b/src/windows/wslaservice/exe/WSLAContainer.cpp @@ -21,12 +21,11 @@ using wsl::windows::service::wsla::WSLAContainer; const std::string nerdctlPath = "/usr/bin/nerdctl"; // Constants for required default arguments for "nerdctl run..." -static std::vector defaultNerdctlRunArgs{ - //"--pull=never", // TODO: Uncomment once PullImage() is implemented. - "-it", // TODO: only enable if fds allow for a tty. - "--net=host", // TODO: default for now, change later - "--ulimit", - "nofile=65536:65536"}; +static std::vector defaultNerdctlRunArgs{ //"--pull=never", // TODO: Uncomment once PullImage() is implemented. + "-it", // TODO: only enable if fds allow for a tty. + "--net=host", // TODO: default for now, change later + "--ulimit", + "nofile=65536:65536"}; HRESULT WSLAContainer::Start() { diff --git a/src/windows/wslaservice/exe/WSLASession.cpp b/src/windows/wslaservice/exe/WSLASession.cpp index e00937f..3104dfa 100644 --- a/src/windows/wslaservice/exe/WSLASession.cpp +++ b/src/windows/wslaservice/exe/WSLASession.cpp @@ -88,7 +88,6 @@ try std::lock_guard lock{m_lock}; THROW_HR_IF(HRESULT_FROM_WIN32(ERROR_INVALID_STATE), !m_virtualMachine); - // TODO: Log entrance into the function. m_containerId++; auto container = WSLAContainer::Create(*containerOptions, *m_virtualMachine.Get());