Skip to content

Go module import path is broken #408

Description

@yhrn

Describe the bug
The Go module import path for the new Go types and clients library released with v1.39.0 seems broken. The source is located at
github.com/GoogleCloudPlatform/k8s-config-connector/generated but the import path is github.com/GoogleCloudPlatform/k8s-config-connector

ConfigConnector Version
v1.39.0

To Reproduce

> go get github.com/GoogleCloudPlatform/k8s-config-connector/generated
go: downloading github.com/GoogleCloudPlatform/k8s-config-connector v0.4.0
go: downloading github.com/GoogleCloudPlatform/k8s-config-connector/generated v0.0.0-20210222223536-d77ffcdd23f4
go get: github.com/GoogleCloudPlatform/k8s-config-connector/generated@none updating to
        github.com/GoogleCloudPlatform/k8s-config-connector/generated@v0.0.0-20210222223536-d77ffcdd23f4: parsing go.mod:
        module declares its path as: github.com/GoogleCloudPlatform/k8s-config-connector
                but was required as: github.com/GoogleCloudPlatform/k8s-config-connector/generated

> go get github.com/GoogleCloudPlatform/k8s-config-connector          
go get: added github.com/GoogleCloudPlatform/k8s-config-connector v0.4.0

> go get github.com/GoogleCloudPlatform/k8s-config-connector@v1.39.0
go get: github.com/GoogleCloudPlatform/k8s-config-connector@v1.39.0: invalid version: unknown revision v1.39.0

Note that github.com/GoogleCloudPlatform/k8s-config-connector@v0.4.0 is just some old tag that contains nothing useful

It might be possible to do something with a replace directive in my go.mod but that seems like a really bad idea.

FYI, @spew

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions