You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the checksum from the code in github does not match the checksum saved in sum.golang.org. The v2.5.0 tag of github.com/go-resty/resty might have been retagged after a minor edition on github. I guess you use proxy.golang.org to get dependencies, but that also shows that your project is depending on the copy of github.com/go-resty/[email protected] before its edition. Depending upon such inconsistent tag version may also result in some unexpected errors as well as build errors due to different proxy settings.
For example, when someone who does not use proxy.golang.org, say GOPROXY=direct, attempts to get github.com/go-resty/resty/[email protected], the following error occurs.
So, this is a reminder in the hope that you can get rid of this problematic version of project github.com/go-resty/resty.
Solution
1. Bump the version of dependency github.com/go-resty/resty
I would recommend bumping the version of github.com/go-resty/resty to a new release to ensure dependency copy in proxy.golang.org and github in sync.
Background
Repo
github.com/sensu/sensu-go
depends onworker-try.q208haf-626.workers.dev/go-resty/resty/[email protected]
.https://github.com/sensu/sensu-go/blob/main/go.mod#L19
However, comparing version
v2.5.0
ofworker-try.q208haf-626.workers.dev/go-resty/resty
from proxy.golang.org and github, there are inconsistencies.So the checksum from the code in github does not match the checksum saved in sum.golang.org. The
v2.5.0
tag ofworker-try.q208haf-626.workers.dev/go-resty/resty
might have been retagged after a minor edition on github. I guess you use proxy.golang.org to get dependencies, but that also shows that your project is depending on the copy ofworker-try.q208haf-626.workers.dev/go-resty/[email protected]
before its edition. Depending upon such inconsistent tag version may also result in some unexpected errors as well as build errors due to different proxy settings.For example, when someone who does not use proxy.golang.org, say
GOPROXY=direct
, attempts to getworker-try.q208haf-626.workers.dev/go-resty/resty/[email protected]
, the following error occurs.So, this is a reminder in the hope that you can get rid of this problematic version of project
github.com/go-resty/resty
.Solution
1. Bump the version of dependency
github.com/go-resty/resty
I would recommend bumping the version of
github.com/go-resty/resty
to a new release to ensure dependency copy in proxy.golang.org and github in sync.References
The text was updated successfully, but these errors were encountered: