Merge pull request #11192 from ashley-cui/darwinwarn3

[NO TESTS NEEDED] Change connection error to be helpful for machine users
This commit is contained in:
openshift-ci[bot] 2021-08-17 19:46:04 +00:00 committed by GitHub
commit 856f1a2124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}