mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
80dc5186ec
cmd.Environ() is new in go1.19, and not needed for this specific case.
Without this, trying to use this package in code that uses go1.18 will fail;
builder/remotecontext/git/gitutils.go:216:23: cmd.Environ undefined (type *exec.Cmd has no field or method Environ)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit
|
||
---|---|---|
.. | ||
git | ||
urlutil | ||
archive.go | ||
detect.go | ||
detect_test.go | ||
filehash.go | ||
generate.go | ||
git.go | ||
lazycontext.go | ||
mimetype.go | ||
mimetype_test.go | ||
remote.go | ||
remote_test.go | ||
tarsum.go | ||
tarsum.pb.go | ||
tarsum.proto | ||
tarsum_test.go | ||
utils_test.go |