Warnings about broken instance in `limactl list`
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
### Description
`limactl list` may log unneeded warnings if running while an instance is created and started by another program. The command already shows the status of the instance as broken so the warning is not helpful.
Not bening able to find `~/.lima/cluster/ha.sock` is an expected condition when the command is running in parallel to instance creation.
```console
% limactl list
WARN[0000] instance "cluster" has errors errors="[failed to connect to \"/Users/nir/.lima/cluster/ha.sock\": stat /Users/nir/.lima/cluster/ha.sock: no such file or directory]"
NAME STATUS SSH VMTYPE ARCH CPUS MEMORY DISK DIR
cluster Broken 127.0.0.1:0 vz aarch64 2 3GiB 20GiB ~/.lima/cluster
krunkit Stopped 127.0.0.1:0 krunkit aarch64 4 4GiB 100GiB ~/.lima/krunkit
libnbd Stopped 127.0.0.1:0 vz aarch64 10 16GiB 100GiB ~/.lima/libnbd
podman Stopped 127.0.0.1:0 vz aarch64 4 4GiB 100GiB ~/.lima/podman
uvkc Stopped 127.0.0.1:0 vz aarch64 8 8GiB 100GiB ~/.lima/uvkco
```
Contributor guide
Assessment
This issue has not been assessed yet.