Skip to content

Go get fails with go 1.13 #670

Closed
Closed
@jaloren

Description

@jaloren
  1. install go 1.13 on your system
  2. cd into a directory that is a go module
  3. now run go get
go get k8s.io/[email protected]
go: finding k8s.io/client-go v12.0.0
go get k8s.io/[email protected]: k8s.io/[email protected]: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v12

The issue is that semantic import versioning requires the module declaration to be:

module k8s.io/client-go/v12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions