]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/cache: squelch cache init warnings when $HOME is /
authorZev Goldstein <Zev.Goldstein@gmail.com>
Mon, 9 Jul 2018 02:31:28 +0000 (22:31 -0400)
committerIan Lance Taylor <iant@golang.org>
Tue, 17 Jul 2018 05:17:31 +0000 (05:17 +0000)
commit0c319ee4fe655e3c8e7bf72bce572c989f565a53
tree5ea889a482c749989a8a5600df2d374a5ba3b772
parent6e4e29408aba3adbc1bfc3f474ab120f1c983ec2
cmd/go/internal/cache: squelch cache init warnings when $HOME is /

Docker sets $HOME to / when running with a UID that doesn't exist within
the container.  This not  uncommon on CI servers.

Fixes #26280

Change-Id: Ic7ff62b41403fe6e7c0cef12814667ef73f6c954
Reviewed-on: https://go-review.googlesource.com/122487
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/cache/default.go
src/cmd/go/internal/cache/default_unix_test.go [new file with mode: 0644]