-
Notifications
You must be signed in to change notification settings - Fork 50
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
Incorrect version values from version.Get() #3
Comments
How did you get that version? I assume with the You can get KubeVirt's server version if that helps:
|
Yep I don't think it makes much sense to support this. @slintes can we exclude anything related to |
I think just excluding something won't work (well, it wouldn't be nice at least imho). But we could refactor it to only keep the version.Info struct in client-go (it's used in kubecli for getting the server's version), and move everything else back to kubevirt. |
@slintes yep, you basically got it. Looks like I misunderstood the purpose of the version package in the client-go module. |
if you have a workaround which we could easily add to client-go, let us know 🙂 /close |
@slintes: 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. |
I vendored client-go v0.19.0 in my project.
I just fetch the version and log it on server startup, and I see something like
I was expecting
it seems these fields aren't properly set when the tag is cut.
The text was updated successfully, but these errors were encountered: