mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 16:30:30 -06:00
Format
This commit is contained in:
parent
cff1cd25b4
commit
29971ace13
@ -21,8 +21,7 @@ using wsl::windows::service::wsla::WSLAContainer;
|
||||
const std::string nerdctlPath = "/usr/bin/nerdctl";
|
||||
|
||||
// Constants for required default arguments for "nerdctl run..."
|
||||
static std::vector<std::string> defaultNerdctlRunArgs{
|
||||
//"--pull=never", // TODO: Uncomment once PullImage() is implemented.
|
||||
static std::vector<std::string> 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",
|
||||
|
||||
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user