Skip to content

Commit

Permalink
WSL: fix incorrect argument to wsl.exe
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Yen <mark.yen@suse.com>
  • Loading branch information
mook-as committed May 12, 2021
1 parent 9585be5 commit 85829da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k8s-engine/wsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export default class WSLBackend extends events.EventEmitter implements K8s.Kuber
try {
await childProcess.spawnFile(
'wsl.exe',
['--user', 'root', '--distro', 'k3s', 'mount', '--make-shared', '/'],
['--user', 'root', '--distribution', 'k3s', 'mount', '--make-shared', '/'],
{
stdio: ['ignore', await Logging.wsl.fdStream, await Logging.wsl.fdStream],
windowsHide: true,
Expand Down

0 comments on commit 85829da

Please sign in to comment.