spiegel_podman/pkg
Christophe Fergeau 3fef531d96 applehv: return socket path from setupAPIForwarding
When starting podman machine with applehv, this warning is printed:
WARN[0025] API socket failed ping test

This is due to a bug in applehv.setupAPIForwarding which is not
returning the path to the socket, which causes `WaitAndPingAPI` to be
called with `""` as the socket path, triggering the warning.

This commit changes setupAPIForwarding to be similar to the
implementation in the other machine implementations.

I don't know how to add a test for this, but this can be handled in
podman-machine end to end tests by making sure that there are no
warnings when running `podman machine start` with applehv.

[NO NEW TESTS NEEDED]

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2024-01-16 17:06:22 +01:00
..
annotations Remove ReservedAnnotations from kube generate specification 2023-01-18 08:46:24 -05:00
api Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
auth Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
autoupdate chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
bindings Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
copy Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
criu chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ctime chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
domain Merge pull request #21069 from umohnani8/new-farmbuild-2 2024-01-15 18:41:29 +00:00
emulation chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
env Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
errorhandling Fix typos 2023-02-11 18:23:24 +01:00
farm farm build: push built images to registry 2024-01-15 11:31:17 -05:00
fileserver chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
lookup source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
machine applehv: return socket path from setupAPIForwarding 2024-01-16 17:06:22 +01:00
namespaces Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
parallel chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ps chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
rctl Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
rootless chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
specgen Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
specgenutil Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
specgenutilexternal Quadlet container mount - support non key=val options 2023-09-27 16:20:00 +03:00
strongunits introduce pkg/strongunits 2023-09-20 11:19:41 -05:00
systemd Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
terminal chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
timetype Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
trust Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
util Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00