@@ -23,7 +23,7 @@ func startVM(ctx context.Context, distroName string) error {
2323 "wsl.exe" ,
2424 "--distribution" ,
2525 distroName ,
26- }, executil .WithContext (& ctx ))
26+ }, executil .WithContext (ctx ))
2727 if err != nil {
2828 return fmt .Errorf ("failed to run `wsl.exe --distribution %s`: %w (out=%q)" ,
2929 distroName , err , string (out ))
@@ -41,7 +41,7 @@ func initVM(ctx context.Context, instanceDir, distroName string) error {
4141 distroName ,
4242 instanceDir ,
4343 baseDisk ,
44- }, executil .WithContext (& ctx ))
44+ }, executil .WithContext (ctx ))
4545 if err != nil {
4646 return fmt .Errorf ("failed to run `wsl.exe --import %s %s %s`: %w (out=%q)" ,
4747 distroName , instanceDir , baseDisk , err , string (out ))
@@ -55,7 +55,7 @@ func stopVM(ctx context.Context, distroName string) error {
5555 "wsl.exe" ,
5656 "--terminate" ,
5757 distroName ,
58- }, executil .WithContext (& ctx ))
58+ }, executil .WithContext (ctx ))
5959 if err != nil {
6060 return fmt .Errorf ("failed to run `wsl.exe --terminate %s`: %w (out=%q)" ,
6161 distroName , err , string (out ))
@@ -164,7 +164,7 @@ func unregisterVM(ctx context.Context, distroName string) error {
164164 "wsl.exe" ,
165165 "--unregister" ,
166166 distroName ,
167- }, executil .WithContext (& ctx ))
167+ }, executil .WithContext (ctx ))
168168 if err != nil {
169169 return fmt .Errorf ("failed to run `wsl.exe --unregister %s`: %w (out=%q)" ,
170170 distroName , err , string (out ))
0 commit comments