From 1e013f4aeda834ec681513ffe0b57d5caf88b6ba Mon Sep 17 00:00:00 2001 From: tty47 <32740567+tty47@users.noreply.github.com> Date: Fri, 1 Nov 2024 21:18:41 +0100 Subject: [PATCH] rename repo owner --- Makefile | 2 +- cmd/main.go | 6 +++--- go.mod | 2 +- pkg/http/handlers.go | 6 +++--- pkg/http/router.go | 2 +- pkg/http/server.go | 10 +++++----- pkg/k8s/services.go | 2 +- pkg/k8s/statefulsets.go | 2 +- pkg/nodes/consensus.go | 4 ++-- pkg/nodes/consensus_test.go | 2 +- pkg/nodes/da.go | 8 ++++---- pkg/nodes/da_test.go | 2 +- pkg/nodes/nodes.go | 4 ++-- pkg/nodes/nodes_consumer.go | 4 ++-- pkg/nodes/nodes_test.go | 2 +- pkg/nodes/queue.go | 6 +++--- 16 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Makefile b/Makefile index b2a9750..b8aed43 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PROJECT_NAME := $(shell basename `pwd`) REPOSITORY_NAME := $(shell basename `pwd`) -REGISTRY_NAME=ghcr.io/jrmanes +REGISTRY_NAME=ghcr.io/tty47 LOCAL_DEV=local # Go diff --git a/cmd/main.go b/cmd/main.go index 19e04a7..fed077f 100755 --- a/cmd/main.go +++ b/cmd/main.go @@ -8,9 +8,9 @@ import ( log "github.com/sirupsen/logrus" "gopkg.in/yaml.v2" - "github.com/jrmanes/torch/config" - handlers "github.com/jrmanes/torch/pkg/http" - "github.com/jrmanes/torch/pkg/k8s" + "github.com/tty47/torch/config" + handlers "github.com/tty47/torch/pkg/http" + "github.com/tty47/torch/pkg/k8s" ) // ParseFlags parses the command-line flags and reads the configuration file. diff --git a/go.mod b/go.mod index d702eb8..a0eb8bb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/jrmanes/torch +module github.com/tty47/torch go 1.21 diff --git a/pkg/http/handlers.go b/pkg/http/handlers.go index 6aca11f..1277bfa 100644 --- a/pkg/http/handlers.go +++ b/pkg/http/handlers.go @@ -10,9 +10,9 @@ import ( "github.com/gorilla/mux" log "github.com/sirupsen/logrus" - "github.com/jrmanes/torch/config" - "github.com/jrmanes/torch/pkg/db/redis" - "github.com/jrmanes/torch/pkg/nodes" + "github.com/tty47/torch/config" + "github.com/tty47/torch/pkg/db/redis" + "github.com/tty47/torch/pkg/nodes" ) const ( diff --git a/pkg/http/router.go b/pkg/http/router.go index 0cff80d..5448083 100644 --- a/pkg/http/router.go +++ b/pkg/http/router.go @@ -6,7 +6,7 @@ import ( "github.com/gorilla/mux" "github.com/prometheus/client_golang/prometheus/promhttp" - "github.com/jrmanes/torch/config" + "github.com/tty47/torch/config" ) func Router(r *mux.Router, cfg config.MutualPeersConfig) *mux.Router { diff --git a/pkg/http/server.go b/pkg/http/server.go index fe19f4b..40ca27f 100644 --- a/pkg/http/server.go +++ b/pkg/http/server.go @@ -13,11 +13,11 @@ import ( log "github.com/sirupsen/logrus" "golang.org/x/sync/errgroup" - "github.com/jrmanes/torch/config" - "github.com/jrmanes/torch/pkg/db/redis" - "github.com/jrmanes/torch/pkg/k8s" - "github.com/jrmanes/torch/pkg/metrics" - "github.com/jrmanes/torch/pkg/nodes" + "github.com/tty47/torch/config" + "github.com/tty47/torch/pkg/db/redis" + "github.com/tty47/torch/pkg/k8s" + "github.com/tty47/torch/pkg/metrics" + "github.com/tty47/torch/pkg/nodes" ) const ( diff --git a/pkg/k8s/services.go b/pkg/k8s/services.go index 4bf2e49..dd651e1 100644 --- a/pkg/k8s/services.go +++ b/pkg/k8s/services.go @@ -11,7 +11,7 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" - "github.com/jrmanes/torch/pkg/metrics" + "github.com/tty47/torch/pkg/metrics" ) // RetrieveAndGenerateMetrics retrieves the list of Load Balancers and generates metrics diff --git a/pkg/k8s/statefulsets.go b/pkg/k8s/statefulsets.go index d4dc142..4021af5 100644 --- a/pkg/k8s/statefulsets.go +++ b/pkg/k8s/statefulsets.go @@ -10,7 +10,7 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" - "github.com/jrmanes/torch/pkg/db/redis" + "github.com/tty47/torch/pkg/db/redis" ) const ( diff --git a/pkg/nodes/consensus.go b/pkg/nodes/consensus.go index 8474625..155266e 100644 --- a/pkg/nodes/consensus.go +++ b/pkg/nodes/consensus.go @@ -9,8 +9,8 @@ import ( log "github.com/sirupsen/logrus" - "github.com/jrmanes/torch/config" - "github.com/jrmanes/torch/pkg/k8s" + "github.com/tty47/torch/config" + "github.com/tty47/torch/pkg/k8s" ) var ( diff --git a/pkg/nodes/consensus_test.go b/pkg/nodes/consensus_test.go index 935caa0..aabb545 100644 --- a/pkg/nodes/consensus_test.go +++ b/pkg/nodes/consensus_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/jrmanes/torch/config" + "github.com/tty47/torch/config" ) func TestSetConsNodeDefault(t *testing.T) { diff --git a/pkg/nodes/da.go b/pkg/nodes/da.go index d0a632b..2fab1cd 100644 --- a/pkg/nodes/da.go +++ b/pkg/nodes/da.go @@ -9,10 +9,10 @@ import ( log "github.com/sirupsen/logrus" - "github.com/jrmanes/torch/config" - "github.com/jrmanes/torch/pkg/db/redis" - "github.com/jrmanes/torch/pkg/k8s" - "github.com/jrmanes/torch/pkg/metrics" + "github.com/tty47/torch/config" + "github.com/tty47/torch/pkg/db/redis" + "github.com/tty47/torch/pkg/k8s" + "github.com/tty47/torch/pkg/metrics" ) const ( diff --git a/pkg/nodes/da_test.go b/pkg/nodes/da_test.go index 92dc4b8..3d1de39 100644 --- a/pkg/nodes/da_test.go +++ b/pkg/nodes/da_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/jrmanes/torch/config" + "github.com/tty47/torch/config" ) func TestHasAddrAlready(t *testing.T) { diff --git a/pkg/nodes/nodes.go b/pkg/nodes/nodes.go index c063ddd..3ef8c4a 100644 --- a/pkg/nodes/nodes.go +++ b/pkg/nodes/nodes.go @@ -3,8 +3,8 @@ package nodes import ( log "github.com/sirupsen/logrus" - "github.com/jrmanes/torch/config" - "github.com/jrmanes/torch/pkg/k8s" + "github.com/tty47/torch/config" + "github.com/tty47/torch/pkg/k8s" ) type NodeAddress struct { diff --git a/pkg/nodes/nodes_consumer.go b/pkg/nodes/nodes_consumer.go index ba48131..a429e6c 100644 --- a/pkg/nodes/nodes_consumer.go +++ b/pkg/nodes/nodes_consumer.go @@ -10,8 +10,8 @@ import ( "github.com/adjust/rmq/v5" log "github.com/sirupsen/logrus" - "github.com/jrmanes/torch/config" - "github.com/jrmanes/torch/pkg/db/redis" + "github.com/tty47/torch/config" + "github.com/tty47/torch/pkg/db/redis" ) const ( diff --git a/pkg/nodes/nodes_test.go b/pkg/nodes/nodes_test.go index 289220b..9789b9d 100644 --- a/pkg/nodes/nodes_test.go +++ b/pkg/nodes/nodes_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/jrmanes/torch/config" + "github.com/tty47/torch/config" ) func TestValidateNode(t *testing.T) { diff --git a/pkg/nodes/queue.go b/pkg/nodes/queue.go index 874de3a..6096541 100644 --- a/pkg/nodes/queue.go +++ b/pkg/nodes/queue.go @@ -6,9 +6,9 @@ import ( log "github.com/sirupsen/logrus" - "github.com/jrmanes/torch/config" - "github.com/jrmanes/torch/pkg/db/redis" - "github.com/jrmanes/torch/pkg/metrics" + "github.com/tty47/torch/config" + "github.com/tty47/torch/pkg/db/redis" + "github.com/tty47/torch/pkg/metrics" ) var (