lima-vm / lima

Linux virtual machines, with a focus on running containers
https://lima-vm.io/
Apache License 2.0
15.07k stars 591 forks source link

Refactor unexported functions in the pkg/hostagent #2657

Closed alexandear closed 2 days ago

alexandear commented 2 days ago

The PR refactors parameters in the determineSSHLocalPort and writeSSHConfigFile functions. There is no need to pass entire structs with many fields when the function requires only a few.

jandubois commented 2 days ago

I've now started re-running the VZ tests for the 9th time. I don't see how their failure could be related to this PR, but I can't seem to get them to pass. 😞