-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Import package aliases are not uniform. #8244
Comments
Good suggestion.why not? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Hi, can I also participate? I am a newbie and this seems to be a task which I could manage. I have already signed the CLA. I am not sure if I can open the PR and reference it to this issue without asking thats why I am asking here in advance :) |
I think the open PR #8256 might be addressing the remaining imports mentioned in this issue but if you find other imports with similar inconsistencies feel free to mention them here and open a PR :) |
@rifelpet Actually, there are lots of such files:
And the above are only |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
In kops, there are some import package aliases are not uniform.
For
"k8s.io/kops/pkg/apis/kops"
, there are several aliases:For
"k8s.io/apimachinery/pkg/apis/meta/v1"
, there are several aliases:Therefore, I suggest to update:
"k8s.io/kops/pkg/apis/kops"
->kopsapi "k8s.io/kops/pkg/apis/kops"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
->metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
The text was updated successfully, but these errors were encountered: