mirror of
https://github.com/containers/podman.git
synced 2025-09-26 08:14:14 +08:00

When people report issues, we often ask for the result of `podman info`. However, if the problem is the remote connection, it will error out with no information at all. This PR at least will report client information before disclosing the connection error. For example on Windows: > .\bin\windows\podman.exe info client: OS: windows/amd64 provider: hyperv version: 4.8.0-dev host: null Satisfies: RUN-1720 Signed-off-by: Brent Baude <bbaude@redhat.com>
8 lines
98 B
Go
8 lines
98 B
Go
//go:build !amd64 && !arm64
|
|
|
|
package main
|
|
|
|
func getProvider() (string, error) {
|
|
return "", nil
|
|
}
|