From eea95420a09599962eebe9ca59f1abb352c10b9d Mon Sep 17 00:00:00 2001
From: kaiyou <dev@kaiyou.fr>
Date: Tue, 20 Dec 2022 15:48:09 +0100
Subject: [PATCH] Change the repository url

---
 cmd/hepto.go            | 2 +-
 cmd/hepto/config.go     | 4 ++--
 cmd/hepto/root.go       | 4 ++--
 go.mod                  | 2 +-
 pkg/cluster/certs.go    | 2 +-
 pkg/cluster/cluster.go  | 6 +++---
 pkg/cluster/meta.go     | 2 +-
 pkg/cluster/services.go | 2 +-
 pkg/cluster/vpn.go      | 2 +-
 pkg/pki/ca.go           | 2 +-
 pkg/pki/master.go       | 2 +-
 pkg/pki/node.go         | 2 +-
 pkg/pki/utils.go        | 2 +-
 13 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/cmd/hepto.go b/cmd/hepto.go
index 1044f73..82be07c 100644
--- a/cmd/hepto.go
+++ b/cmd/hepto.go
@@ -7,7 +7,7 @@ import (
 	"path/filepath"
 	"strings"
 
-	"forge.tedomum.net/acides/hepto/hepto/cmd/hepto"
+	"forge.tedomum.net/acides/hepto/cmd/hepto"
 	containerd "github.com/containerd/containerd/cmd/containerd/command"
 	ctr "github.com/containerd/containerd/cmd/ctr/app"
 	"github.com/containerd/containerd/plugin"
diff --git a/cmd/hepto/config.go b/cmd/hepto/config.go
index d2f1e65..1948f2c 100644
--- a/cmd/hepto/config.go
+++ b/cmd/hepto/config.go
@@ -5,8 +5,8 @@ import (
 	"os"
 	"path"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/cluster"
-	"forge.tedomum.net/acides/hepto/hepto/pkg/selfcontain"
+	"forge.tedomum.net/acides/hepto/pkg/cluster"
+	"forge.tedomum.net/acides/hepto/pkg/selfcontain"
 	"github.com/go-logr/logr"
 	"github.com/go-logr/zapr"
 	"github.com/spf13/cobra"
diff --git a/cmd/hepto/root.go b/cmd/hepto/root.go
index 8382736..c29c483 100644
--- a/cmd/hepto/root.go
+++ b/cmd/hepto/root.go
@@ -7,8 +7,8 @@ import (
 	"os/exec"
 	"time"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/cluster"
-	"forge.tedomum.net/acides/hepto/hepto/pkg/selfcontain"
+	"forge.tedomum.net/acides/hepto/pkg/cluster"
+	"forge.tedomum.net/acides/hepto/pkg/selfcontain"
 	"github.com/spf13/cobra"
 )
 
diff --git a/go.mod b/go.mod
index 523f7e6..1d30128 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module forge.tedomum.net/acides/hepto/hepto
+module forge.tedomum.net/acides/hepto
 
 go 1.19
 
diff --git a/pkg/cluster/certs.go b/pkg/cluster/certs.go
index 3dd171f..48f6cc7 100644
--- a/pkg/cluster/certs.go
+++ b/pkg/cluster/certs.go
@@ -4,7 +4,7 @@ import (
 	"os"
 	"path"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/pki"
+	"forge.tedomum.net/acides/hepto/pkg/pki"
 )
 
 const certsPath = "/certs"
diff --git a/pkg/cluster/cluster.go b/pkg/cluster/cluster.go
index e6193f3..f294945 100644
--- a/pkg/cluster/cluster.go
+++ b/pkg/cluster/cluster.go
@@ -9,9 +9,9 @@ import (
 
 	"k8s.io/component-helpers/node/util/sysctl"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/pki"
-	"forge.tedomum.net/acides/hepto/hepto/pkg/sml"
-	"forge.tedomum.net/acides/hepto/hepto/pkg/wg"
+	"forge.tedomum.net/acides/hepto/pkg/pki"
+	"forge.tedomum.net/acides/hepto/pkg/sml"
+	"forge.tedomum.net/acides/hepto/pkg/wg"
 )
 
 type Cluster struct {
diff --git a/pkg/cluster/meta.go b/pkg/cluster/meta.go
index e7cb34b..93e85d1 100644
--- a/pkg/cluster/meta.go
+++ b/pkg/cluster/meta.go
@@ -4,7 +4,7 @@ import (
 	"encoding/json"
 	"net"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/pki"
+	"forge.tedomum.net/acides/hepto/pkg/pki"
 )
 
 // Represents a node metadata
diff --git a/pkg/cluster/services.go b/pkg/cluster/services.go
index 3d31511..02ed70e 100644
--- a/pkg/cluster/services.go
+++ b/pkg/cluster/services.go
@@ -8,7 +8,7 @@ import (
 	"path"
 	"time"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/wrappers"
+	"forge.tedomum.net/acides/hepto/pkg/wrappers"
 	"go.etcd.io/etcd/server/v3/embed"
 )
 
diff --git a/pkg/cluster/vpn.go b/pkg/cluster/vpn.go
index 88bf9cd..ee3e67e 100644
--- a/pkg/cluster/vpn.go
+++ b/pkg/cluster/vpn.go
@@ -4,7 +4,7 @@ import (
 	"os"
 	"strconv"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/wg"
+	"forge.tedomum.net/acides/hepto/pkg/wg"
 )
 
 func (c *Cluster) initVPN() {
diff --git a/pkg/pki/ca.go b/pkg/pki/ca.go
index 9359807..e15d513 100644
--- a/pkg/pki/ca.go
+++ b/pkg/pki/ca.go
@@ -1,7 +1,7 @@
 package pki
 
 import (
-	"forge.tedomum.net/acides/hepto/hepto/pkg/pekahi"
+	"forge.tedomum.net/acides/hepto/pkg/pekahi"
 )
 
 // Cluster PKI is made of three different CAs
diff --git a/pkg/pki/master.go b/pkg/pki/master.go
index ca13105..5408998 100644
--- a/pkg/pki/master.go
+++ b/pkg/pki/master.go
@@ -3,7 +3,7 @@ package pki
 import (
 	"net"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/pekahi"
+	"forge.tedomum.net/acides/hepto/pkg/pekahi"
 )
 
 // Master certs
diff --git a/pkg/pki/node.go b/pkg/pki/node.go
index dfc42b1..0d6c8f2 100644
--- a/pkg/pki/node.go
+++ b/pkg/pki/node.go
@@ -3,7 +3,7 @@ package pki
 import (
 	"net"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/pekahi"
+	"forge.tedomum.net/acides/hepto/pkg/pekahi"
 )
 
 // Node certs
diff --git a/pkg/pki/utils.go b/pkg/pki/utils.go
index ca52dfb..cac8b64 100644
--- a/pkg/pki/utils.go
+++ b/pkg/pki/utils.go
@@ -3,7 +3,7 @@ package pki
 import (
 	"crypto/x509"
 
-	"forge.tedomum.net/acides/hepto/hepto/pkg/pekahi"
+	"forge.tedomum.net/acides/hepto/pkg/pekahi"
 )
 
 // Merge a single node or master certificate
-- 
GitLab