mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-30 23:56:14 +00:00
Change module path according to Go docs (#1220)
https://go.dev/doc/modules/major-version This way we can bump the kairos dependency on the provider-kairos repo which otherwise produced the error: ``` ~/workspace/kairos/provider-kairos (main)*$ go get -u github.com/kairos-io/kairos@v2.0.0-alpha3 go: github.com/kairos-io/kairos@v2.0.0-alpha3: invalid version: module contains a go.mod file, so module path must match major version ("github.com/kairos-io/kairos/v2") ``` Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
b513c69a0c
commit
d7fc1ee026
@ -6,7 +6,7 @@ import (
|
||||
"path"
|
||||
"path/filepath"
|
||||
|
||||
. "github.com/kairos-io/kairos/pkg/config/collector"
|
||||
. "github.com/kairos-io/kairos/v2/pkg/config/collector"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
"gopkg.in/yaml.v1"
|
||||
|
@ -8,8 +8,8 @@ import (
|
||||
"unicode"
|
||||
|
||||
"github.com/kairos-io/kairos-sdk/bundles"
|
||||
"github.com/kairos-io/kairos/pkg/config/collector"
|
||||
schema "github.com/kairos-io/kairos/pkg/config/schemas"
|
||||
"github.com/kairos-io/kairos/v2/pkg/config/collector"
|
||||
schema "github.com/kairos-io/kairos/v2/pkg/config/schemas"
|
||||
yip "github.com/mudler/yip/pkg/schema"
|
||||
|
||||
"gopkg.in/yaml.v3"
|
||||
|
@ -18,7 +18,7 @@ package config_test
|
||||
import (
|
||||
"os"
|
||||
|
||||
// . "github.com/kairos-io/kairos/pkg/config"
|
||||
// . "github.com/kairos-io/kairos/v2/pkg/config"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
// . "github.com/onsi/gomega"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package config_test
|
||||
import (
|
||||
"strings"
|
||||
|
||||
. "github.com/kairos-io/kairos/pkg/config/schemas"
|
||||
. "github.com/kairos-io/kairos/v2/pkg/config/schemas"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package config_test
|
||||
import (
|
||||
"strings"
|
||||
|
||||
. "github.com/kairos-io/kairos/pkg/config/schemas"
|
||||
. "github.com/kairos-io/kairos/v2/pkg/config/schemas"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
. "github.com/kairos-io/kairos/pkg/config"
|
||||
. "github.com/kairos-io/kairos/pkg/config/schemas"
|
||||
. "github.com/kairos-io/kairos/v2/pkg/config"
|
||||
. "github.com/kairos-io/kairos/v2/pkg/config/schemas"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package config_test
|
||||
import (
|
||||
"strings"
|
||||
|
||||
. "github.com/kairos-io/kairos/pkg/config/schemas"
|
||||
. "github.com/kairos-io/kairos/v2/pkg/config/schemas"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user