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
You have two options: fork (copy) all of the code into a v2 folder and leave your go.mod file the same, or add a version to the go mod file and support for v1 updates comes from a branch.
Imports of KEDA v2 should look like this:
And then any imports in go use the v2 path.
But this will not work as the KEDA module did not correctly bump the source code to v2.
See https://github.com/kedacore/keda/blob/main/go.mod
You have two options: fork (copy) all of the code into a v2 folder and leave your go.mod file the same, or add a version to the go mod file and support for v1 updates comes from a branch.
An example of a v2 folder in the module: https://github.com/cloudevents/sdk-go
An example with the versioned folder in the package name: https://github.com/google/go-github/blob/master/go.mod#L1
Please see: knative-extensions/eventing-autoscaler-keda#39 (comment)
The text was updated successfully, but these errors were encountered: