Skip to content

libnetwork: endpointJoinInfo.UnmarshalJSON: fix shadowed variable (go…#48822

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:libnetwork_fix_shadow
Nov 5, 2024
Merged

libnetwork: endpointJoinInfo.UnmarshalJSON: fix shadowed variable (go…#48822
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:libnetwork_fix_shadow

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

…vet)

looks like this was added in libnetwork@be153a1, but not spotted.

libnetwork/endpoint_info.go:467:20: nilness: range of nil slice (govet)
    for _, r := range tStaticRoute {
                      ^

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

…vet)

looks like this was added in [libnetwork@be153a1], but not spotted.

    libnetwork/endpoint_info.go:467:20: nilness: range of nil slice (govet)
        for _, r := range tStaticRoute {
                          ^

[libnetwork@be153a1]: moby/libnetwork@be153a1

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 28.0.0 milestone Nov 5, 2024
@thaJeztah thaJeztah self-assigned this Nov 5, 2024
@thaJeztah thaJeztah merged commit 4e22c17 into moby:master Nov 5, 2024
@thaJeztah thaJeztah deleted the libnetwork_fix_shadow branch November 5, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants