Skip to content

Importing test module causes errors #4760

Closed
@randomvariable

Description

@randomvariable

What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
I bumped CAPA to sigs.k8s.io/cluster-api v0.3.11-0.20210607195256-55f064d1b9fc and then running go mod tidy gave me

go: sigs.k8s.io/cluster-api/[email protected] requires
        sigs.k8s.io/[email protected]: reading https://proxy.golang.org/sigs.k8s.io/cluster-api/@v/v0.0.0-00010101000000-000000000000.mod: 410 Gone
        server response: not found: sigs.k8s.io/[email protected]: invalid version: unknown revision 000000000000

I think this works in the core repo because we have the replace statement, but when importing externally, we need a real reference.

What did you expect to happen:
No issues when updating.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions