From 690e74e006b87fd47c543dbabed4dd6190151680 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 14 Dec 2024 12:44:04 +0800 Subject: [PATCH] :truck: Rename metadata for nexus --- pkg/internal/gap/server.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/internal/gap/server.go b/pkg/internal/gap/server.go index c736621..91867d6 100644 --- a/pkg/internal/gap/server.go +++ b/pkg/internal/gap/server.go @@ -2,11 +2,12 @@ package gap import ( "fmt" + "strings" + "git.solsynth.dev/hypernet/nexus/pkg/nex" "git.solsynth.dev/hypernet/nexus/pkg/proto" "github.com/rs/zerolog/log" "github.com/samber/lo" - "strings" "github.com/spf13/viper" ) @@ -25,7 +26,7 @@ func InitializeToNexus() error { var err error Nx, err = nex.NewNexusConn(viper.GetString("nexus_addr"), &proto.ServiceInfo{ Id: viper.GetString("id"), - Type: "uc", + Type: "re", Label: "Reader", GrpcAddr: grpcOutbound, HttpAddr: lo.ToPtr("http://" + httpOutbound + "/api"),