mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00

Make the logic here much simpler, we already pass all the conection info before so just use the parsed URL here. Fixes #20943 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
13 lines
239 B
Go
13 lines
239 B
Go
//go:build !(amd64 || arm64)
|
|
|
|
package main
|
|
|
|
import (
|
|
"errors"
|
|
"net/url"
|
|
)
|
|
|
|
func getMachineConn(connection string, parsedConnection *url.URL) (string, error) {
|
|
return "", errors.New("podman machine not supported on this architecture")
|
|
}
|