Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod: docker 5aac513617f072b15322b147052cbda0d451d389 / v22.06-dev #9940

Merged
merged 1 commit into from Oct 21, 2022

Commits on Oct 21, 2022

  1. go.mod: docker 5aac513617f072b15322b147052cbda0d451d389 / v22.06-dev

    This restores compatibility with go1.18, which was broken since commit;
    moby/moby@c062238
    
    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)
    
    Changing to use `os.Environ()` instead restores compatibility with go1.18
    
    Full diff: moby/moby@f9cb47a...5aac513
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Oct 21, 2022
    Copy the full SHA
    533abc3 View commit details
    Browse the repository at this point in the history