kubernetes / client-go

Go client for Kubernetes.
Apache License 2.0
8.78k stars 2.9k forks source link

imdario reporting wrong name #1273

Closed stovak closed 1 year ago

stovak commented 1 year ago

https://github.com/kubernetes/client-go/blob/9186f40b189c640d4188387901905c728f291f17/tools/clientcmd/client_config.go#LL33C1-L33C1

go: github.com/imdario/mergo@v1.0.0: parsing go.mod:
        module declares its path as: dario.cat/mergo
                but was required as: github.com/imdario/mergo
darccio commented 1 year ago

@stovak I think they are going to need more context, as it seems to build fine:

imagen

imagen

liggitt commented 1 year ago

it looks like the module renamed itself when it promoted to v1.0.0

client-go still uses an earlier version, so the name is correct

there are compatibility issues / bugs in the module that have previously prevented updating to the latest version - there is an open issue tracking removal of the dependency rather than updating it - https://github.com/kubernetes/kubernetes/issues/107499