-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug] latest upstream version is wrongly detected #1923
Labels
bug
Something isn't working
Comments
4 tasks
Looks like it's a known issue, here are some issues in the https://github.com/hashicorp/go-version/ tracker that look like they're related. Unfortunately one of them is almost 5 years old. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a support request?
Is there an existing issue for this?
Current Behavior
Expected Behavior
No log message when on the latest version
Steps To Reproduce
Environment
Runtime environment
Anything else?
With the relevant code inside of this project that is causing this behaviour being:
headscale/cmd/headscale/cli/root.go
Lines 72 to 88 in a9c568c
I have dug into the issue/code a little and found that the error seems to propagate from
github.com/hashicorp/go-version
or alteast the version that thetcnksm/go-latest
dependency is using. I have come to this conclusion with this little test program:Gives the following:
This shows a few things:
0.23.0-alpha10 < 0.23.0-alpha9
istrue
The text was updated successfully, but these errors were encountered: