fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
577 stars 245 forks source link

help request: cannot import v3 module #1311

Open yilmazo opened 1 month ago

yilmazo commented 1 month ago

Describe the issue

I want to import fluent-operator v3 on my golang project. Since the module has v2 major version suffix, I cannot import v3.

go get github.com/fluent/fluent-operator/v2@v3.0.0                       
go: github.com/fluent/fluent-operator/v2@v3.0.0: invalid version: module path includes a major version suffix, so major version must match
go get github.com/fluent/fluent-operator/v3@v3.0.0
go: github.com/fluent/fluent-operator/v3@v3.0.0: invalid version: go.mod has non-.../v3 module path "github.com/fluent/fluent-operator/v2" (and .../v3/go.mod does not exist) at revision v3.0.0

How did you install fluent operator?

No response

Additional context

No response

wenchajun commented 3 weeks ago

This should be fixed : https://github.com/fluent/fluent-operator/blob/master/go.mod#L1 .