You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package main
import (
"fmt""k8s.io/client-go/pkg/version"
)
funcmain() { fmt.Println(version.Get()) }
What did you expect to see?
[user@localhost test]$ go doc k8s.io/client-go/pkg/version
go: k8s.io/client-go@v12.0.0+incompatible: missing go.sum entry; to add it:
go mod download k8s.io/client-go
go: k8s.io/client-go@v12.0.0+incompatible: missing go.sum entry; to add it:
go mod download k8s.io/client-go
doc: go/build: go list k8s.io/client-go/pkg/version: exit status 1
go: k8s.io/client-go@v12.0.0+incompatible: missing go.sum entry; to add it:
go mod download k8s.io/client-go
What did you see instead?
The toolchain is adding an extra newline and warning me about the exit status:
[user@localhost test]$ go doc k8s.io/client-go/pkg/version
go: k8s.io/client-go@v12.0.0+incompatible: missing go.sum entry; to add it:
go mod download k8s.io/client-go
go: k8s.io/client-go@v12.0.0+incompatible: missing go.sum entry; to add it:
go mod download k8s.io/client-go
doc: go/build: go list k8s.io/client-go/pkg/version: exit status 1
go: k8s.io/client-go@v12.0.0+incompatible: missing go.sum entry; to add it:
go mod download k8s.io/client-go
exit status 1
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Create the following
go.mod
file:Create the following
main.go
file:What did you expect to see?
What did you see instead?
The toolchain is adding an extra newline and warning me about the exit status:
The text was updated successfully, but these errors were encountered: