summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-08-17 19:46:04 +0000
committerGitHub <noreply@github.com>2021-08-17 19:46:04 +0000
commit856f1a2124328bf719fbb3144d16fc1b2d0b797f (patch)
treef0a87b7a0666667c3e7e633d238dff4507adb217 /pkg
parenta7a55ea7fb18bdcda8c310fadcacb77dd2a9e90a (diff)
parent2e3ba9cd996b3712e04f5a2f8682cd60bec37feb (diff)
downloadpodman-856f1a2124328bf719fbb3144d16fc1b2d0b797f.tar.gz
podman-856f1a2124328bf719fbb3144d16fc1b2d0b797f.tar.bz2
podman-856f1a2124328bf719fbb3144d16fc1b2d0b797f.zip
Merge pull request #11192 from ashley-cui/darwinwarn3
[NO TESTS NEEDED] Change connection error to be helpful for machine users
Diffstat (limited to 'pkg')
-rw-r--r--pkg/bindings/connection.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/connection.go b/pkg/bindings/connection.go
index 62b1655ac..cd118cbb2 100644
--- a/pkg/bindings/connection.go
+++ b/pkg/bindings/connection.go
@@ -117,7 +117,7 @@ func NewConnectionWithIdentity(ctx context.Context, uri string, identity string)
ctx = context.WithValue(ctx, clientKey, &connection)
if err := pingNewConnection(ctx); err != nil {
- return nil, errors.Wrap(err, "cannot connect to the Podman socket, please verify that Podman REST API service is running")
+ return nil, errors.Wrap(err, "cannot connect to the Podman socket, please verify the connection to the Linux system, or use `podman machine` to create/start a Linux VM.")
}
return ctx, nil
}