Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'unknown revision v0.0.0' errors caused by the k8s.io/kube-aggregator #665

Closed
cheny-alf opened this issue Dec 15, 2024 · 3 comments
Closed

Comments

@cheny-alf
Copy link
Contributor

cheny-alf commented Dec 15, 2024

What happened?

When executing go list -m all multiple dependencies can not be resolved due to invalid versions. This command (with some additional flags) is used by JetBrain's GoLand to sync the dependencies and since the command fails, the IDE is not capable to resolve any dependency which results in a huge pile of errors per file.

image

What did you expect to happen?

null

How can we reproduce it (as minimally and precisely as possible)?

Use the JetBrains GoLand ide to compile.

Anything else we need to know?

This issue may be related to kubernetes issues

Karpor version

$ karpor -V
# paste output here

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

@cheny-alf
Copy link
Contributor Author

#666

@elliotxx
Copy link
Collaborator

elliotxx commented Dec 16, 2024

@cheny-alf Yeah, adding replace can solve the Goland errors. Although the use of replace is not elegant, I cannot prevent Goland from executing the default command of go list -m all.
I left a comment in #666 , take a look again

@elliotxx
Copy link
Collaborator

#666 Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants