]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/work: include detail in errors from cache operations
authorBryan C. Mills <bcmills@google.com>
Tue, 30 Jul 2019 18:53:03 +0000 (14:53 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 12 Sep 2019 18:33:05 +0000 (18:33 +0000)
commit1dd71645558157f2d4477f21c6e9f18a99b0bc94
treef594e190736562acafb19a370e9021391c5609df
parent48e482ef0c23032affce7998e985dee6fcda14bc
cmd/go/internal/work: include detail in errors from cache operations

Since the cache has been required since Go 1.12, also remove redundant
checks for a nil cache.

Updates #29127
Updates #29667

Change-Id: Ibc59b659306a4eef2d4f0e3d0b651986d6cf84ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/188021
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/cache/cache.go
src/cmd/go/internal/work/exec.go