mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
The podman module paths are moving from github.com/containers/podman to go.podman.io/podman. This will help with future mobility. Signed-off-by: Brent Baude <bbaude@redhat.com>
16 lines
347 B
Go
16 lines
347 B
Go
//go:build (amd64 || arm64) && !windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"go.podman.io/podman/v6/pkg/machine/define"
|
|
)
|
|
|
|
func extractConnectionString(podmanSocket *define.VMFile, _ *define.VMFile) (string, error) {
|
|
if podmanSocket == nil {
|
|
return "", errors.New("socket of machine is not set")
|
|
}
|
|
return "unix://" + podmanSocket.Path, nil
|
|
}
|