Skip to content
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 fails #20590

Closed
duyawen8 opened this issue Jun 13, 2024 · 1 comment
Closed

go mod tidy fails #20590

duyawen8 opened this issue Jun 13, 2024 · 1 comment

Comments

@duyawen8
Copy link

duyawen8 commented Jun 13, 2024

harbor version: v2.3.1-fd80757d

golang version: go1.15 darwin/amd64

when I run go mod tidy, it fails:

github.com/goharbor/harbor/src/server/v2.0/handler imports
github.com/goharbor/harbor/src/server/v2.0/models: module github.com/goharbor/harbor@latest found (v2.11.0+incompatible, replaced by ../), but does not contain package github.com/goharbor/harbor/src/server/v2.0/models
github.com/goharbor/harbor/src/server/v2.0/handler imports
github.com/goharbor/harbor/src/server/v2.0/restapi: module github.com/goharbor/harbor@latest found (v2.11.0+incompatible, replaced by ../), but does not contain package github.com/goharbor/harbor/src/server/v2.0/restapi
github.com/goharbor/harbor/src/server/v2.0/handler imports
github.com/goharbor/harbor/src/server/v2.0/restapi/operations/artifact: module github.com/goharbor/harbor@latest found (v2.11.0+incompatible, replaced by ../), but does not contain package github.com/goharbor/harbor/src/server/v2.0/restapi/operations/artifact
github.com/goharbor/harbor/src/server/v2.0/handler imports
github.com/goharbor/harbor/src/server/v2.0/restapi/operations/auditlog: module github.com/goharbor/harbor@latest found (v2.11.0+incompatible, replaced by ../), but does not contain package github.com/goharbor/harbor/src/server/v2.0/restapi/operations/auditlog

@zyyw
Copy link
Contributor

zyyw commented Jun 16, 2024

Hi, Harbor version of v2.3.1 is out of support scope, please try to use a relative update-to-date Harbor version.
Regarding your questions, please try to run make gen_apis before go mod tidy.

@zyyw zyyw closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants