-
Notifications
You must be signed in to change notification settings - Fork 9
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
go mod tidy doesn't work #1
Comments
Hi @alias-rahil, |
Meanwhile I will look into the issue that you reported. |
Yes, |
I was able to determine why the error was occurring. You had accidentally set the While you fixed the error at a later stage, the dirty output of the code-generator was still present in the |
@viveksinghggits Any idea on the above issue ? @alias-rahil Looks like the |
Hi @Kavinraja-G, |
@alias-rahil since we decided not to merge the PR, can you please update the steps here that you followed to make the |
Sure, These were the files that were accidentally created but are not needed. Removing these files fixes the issue:
You should be able to run |
What happens to the listers and informers that we use in the controller? If we remove these files @alias-rahil? Looks like they are being used https://github.com/viveksinghggits/kluster/blob/master/pkg/controller/kluster.go#L12? (correct me if I'm wrong - @viveksinghggits) |
kluster/pkg/controller/kluster.go Line 12 in f0eb888
we aren't deleting this file We are only deleting the listers from under |
Re-opening so that it people can refer this issue, if they get into the same problem. |
Please refer to [this issue](#1) to figure out more.
Output
go mod tidy
:go: downloading github.com/digitalocean/godo v1.65.0 go: downloading github.com/kanisterio/kanister v0.0.0-20210903215800-f8e63bf1364d go: downloading github.com/google/go-querystring v1.0.0 go: downloading github.com/jpillora/backoff v1.0.0 go: finding module for package k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset github.com/viveksinghggits/kluster/pkg/client/informers/internalversion imports k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset: module k8s.io/kubernetes@latest found (v1.23.4), but does not contain package k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset
Output
go version
:Output
uname -a
:The text was updated successfully, but these errors were encountered: