From b4a49d790cb2b814d68d2308dbfbd6897f51789b Mon Sep 17 00:00:00 2001 From: Mark Coafield <46470837+MissedTheMark@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:47:41 +1000 Subject: [PATCH] Update module name to match location on GitHub (#15) --- cmd/helm-migrate-values/main.go | 2 +- cmd/helm-migrate-values/root.go | 4 ++-- go.mod | 2 +- pkg/integration_test.go | 2 +- pkg/migrator.go | 2 +- pkg/migrator_test.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/helm-migrate-values/main.go b/cmd/helm-migrate-values/main.go index ca4a8ce..0c7b6be 100644 --- a/cmd/helm-migrate-values/main.go +++ b/cmd/helm-migrate-values/main.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "helm-migrate-values/internal" + "github.com/octopusdeploylabs/helm-migrate-values/internal" "helm.sh/helm/v3/pkg/action" "helm.sh/helm/v3/pkg/cli" "log" diff --git a/cmd/helm-migrate-values/root.go b/cmd/helm-migrate-values/root.go index f7b636d..f673d5f 100644 --- a/cmd/helm-migrate-values/root.go +++ b/cmd/helm-migrate-values/root.go @@ -2,12 +2,12 @@ package main import ( "fmt" + "github.com/octopusdeploylabs/helm-migrate-values/internal" + "github.com/octopusdeploylabs/helm-migrate-values/pkg" "github.com/pkg/errors" "github.com/spf13/cobra" "github.com/spf13/pflag" "gopkg.in/yaml.v2" - "helm-migrate-values/internal" - "helm-migrate-values/pkg" "helm.sh/helm/v3/pkg/action" "helm.sh/helm/v3/pkg/cli" "io" diff --git a/go.mod b/go.mod index 069f996..db41e7b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module helm-migrate-values +module github.com/octopusdeploylabs/helm-migrate-values go 1.23.0 diff --git a/pkg/integration_test.go b/pkg/integration_test.go index a5e643e..465ea24 100644 --- a/pkg/integration_test.go +++ b/pkg/integration_test.go @@ -1,9 +1,9 @@ package pkg import ( + "github.com/octopusdeploylabs/helm-migrate-values/internal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "helm-migrate-values/internal" "helm.sh/helm/v3/pkg/action" "helm.sh/helm/v3/pkg/chart/loader" "helm.sh/helm/v3/pkg/release" diff --git a/pkg/migrator.go b/pkg/migrator.go index f4fe16e..52043aa 100644 --- a/pkg/migrator.go +++ b/pkg/migrator.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" "github.com/Masterminds/sprig/v3" + "github.com/octopusdeploylabs/helm-migrate-values/internal" "gopkg.in/yaml.v2" - "helm-migrate-values/internal" "os" "slices" "strings" diff --git a/pkg/migrator_test.go b/pkg/migrator_test.go index a9085d9..7381124 100644 --- a/pkg/migrator_test.go +++ b/pkg/migrator_test.go @@ -1,9 +1,9 @@ package pkg import ( + "github.com/octopusdeploylabs/helm-migrate-values/internal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "helm-migrate-values/internal" "testing" )