From d8225cfc547f147cc56831948f3f90adb1dffbd7 Mon Sep 17 00:00:00 2001 From: Rafal Foks Date: Tue, 1 Oct 2024 13:39:07 +0200 Subject: [PATCH 1/2] Change invalid module name --- hack/shoot-comparator/cmd/comparator/directories.go | 2 +- hack/shoot-comparator/cmd/main.go | 2 +- hack/shoot-comparator/go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/shoot-comparator/cmd/comparator/directories.go b/hack/shoot-comparator/cmd/comparator/directories.go index 15f3f407..1f758060 100644 --- a/hack/shoot-comparator/cmd/comparator/directories.go +++ b/hack/shoot-comparator/cmd/comparator/directories.go @@ -5,7 +5,7 @@ import ( "log/slog" "time" - "github.com/kyma-project/infrastructure-manager/tools/shoot-comparator/internal/directories" + "github.com/kyma-project/infrastructure-manager/hack/shoot-comparator/internal/directories" "github.com/spf13/cobra" ) diff --git a/hack/shoot-comparator/cmd/main.go b/hack/shoot-comparator/cmd/main.go index 16e05af5..9ccee820 100644 --- a/hack/shoot-comparator/cmd/main.go +++ b/hack/shoot-comparator/cmd/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/kyma-project/infrastructure-manager/tools/shoot-comparator/cmd/comparator" + "github.com/kyma-project/infrastructure-manager/hack/shoot-comparator/cmd/comparator" ) func main() { diff --git a/hack/shoot-comparator/go.mod b/hack/shoot-comparator/go.mod index 45c50615..b9d6536a 100644 --- a/hack/shoot-comparator/go.mod +++ b/hack/shoot-comparator/go.mod @@ -1,4 +1,4 @@ -module github.com/kyma-project/infrastructure-manager/tools/shoot-comparator +module github.com/kyma-project/infrastructure-manager/hack/shoot-comparator go 1.23.0 From 87a99024b6db178ab7e47c3e78e9794fbf52e8f5 Mon Sep 17 00:00:00 2001 From: Rafal Foks Date: Tue, 1 Oct 2024 13:43:54 +0200 Subject: [PATCH 2/2] Fix another files --- hack/shoot-comparator/cmd/comparator/files.go | 2 +- hack/shoot-comparator/internal/directories/comparator.go | 2 +- hack/shoot-comparator/internal/files/comparator.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/shoot-comparator/cmd/comparator/files.go b/hack/shoot-comparator/cmd/comparator/files.go index 4884dfee..611eb1bf 100644 --- a/hack/shoot-comparator/cmd/comparator/files.go +++ b/hack/shoot-comparator/cmd/comparator/files.go @@ -3,7 +3,7 @@ package comparator import ( "fmt" - "github.com/kyma-project/infrastructure-manager/tools/shoot-comparator/internal/files" + "github.com/kyma-project/infrastructure-manager/hack/shoot-comparator/internal/files" "github.com/spf13/cobra" ) diff --git a/hack/shoot-comparator/internal/directories/comparator.go b/hack/shoot-comparator/internal/directories/comparator.go index 46e0e32b..fdb1b43c 100644 --- a/hack/shoot-comparator/internal/directories/comparator.go +++ b/hack/shoot-comparator/internal/directories/comparator.go @@ -9,7 +9,7 @@ import ( "time" gardener "github.com/gardener/gardener/pkg/apis/core/v1beta1" - "github.com/kyma-project/infrastructure-manager/tools/shoot-comparator/internal/files" + "github.com/kyma-project/infrastructure-manager/hack/shoot-comparator/internal/files" "sigs.k8s.io/yaml" ) diff --git a/hack/shoot-comparator/internal/files/comparator.go b/hack/shoot-comparator/internal/files/comparator.go index 7cb3ba51..0cae51e2 100644 --- a/hack/shoot-comparator/internal/files/comparator.go +++ b/hack/shoot-comparator/internal/files/comparator.go @@ -4,7 +4,7 @@ import ( "os" "github.com/gardener/gardener/pkg/apis/core/v1beta1" - "github.com/kyma-project/infrastructure-manager/tools/shoot-comparator/pkg/shoot" + "github.com/kyma-project/infrastructure-manager/hack/shoot-comparator/pkg/shoot" "sigs.k8s.io/yaml" )