summaryrefslogtreecommitdiff
path: root/cmd/podman-mac-helper/main.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-22 20:05:58 +0000
committerGitHub <noreply@github.com>2022-06-22 20:05:58 +0000
commit0d1fa2b50419236ee46b4daf0c0b6ea97deabcaa (patch)
treeca92bc40d4a45c07fc1cb0ad0985f4a1a9011210 /cmd/podman-mac-helper/main.go
parentca26d44d3b8e1208dafd0e71caadc6b67ebb52b2 (diff)
parentaa4279ae151fa9df5245d3e255f3fb929fe2e86c (diff)
downloadpodman-0d1fa2b50419236ee46b4daf0c0b6ea97deabcaa.tar.gz
podman-0d1fa2b50419236ee46b4daf0c0b6ea97deabcaa.tar.bz2
podman-0d1fa2b50419236ee46b4daf0c0b6ea97deabcaa.zip
Merge pull request #14658 from eriksjolund/setup_to_set_up
"setup" -> "set up" and similar
Diffstat (limited to 'cmd/podman-mac-helper/main.go')
-rw-r--r--cmd/podman-mac-helper/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman-mac-helper/main.go b/cmd/podman-mac-helper/main.go
index 8d995519f..735d9898f 100644
--- a/cmd/podman-mac-helper/main.go
+++ b/cmd/podman-mac-helper/main.go
@@ -73,7 +73,7 @@ func getUserInfo(name string) (string, string, string, error) {
entry := readCapped(output)
elements := strings.Split(entry, ":")
if len(elements) < 9 || elements[0] != name {
- return "", "", "", errors.New("Could not lookup user")
+ return "", "", "", errors.New("Could not look up user")
}
return elements[0], elements[2], elements[8], nil
@@ -90,7 +90,7 @@ func getUser() (string, string, string, error) {
_, uid, home, err := getUserInfo(name)
if err != nil {
- return "", "", "", fmt.Errorf("could not lookup user: %s", name)
+ return "", "", "", fmt.Errorf("could not look up user: %s", name)
}
id, err := strconv.Atoi(uid)
if err != nil {