🚚 Rename metadata for nexus
This commit is contained in:
parent
a8a2eace8a
commit
690e74e006
@ -2,11 +2,12 @@ package gap
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"git.solsynth.dev/hypernet/nexus/pkg/nex"
|
"git.solsynth.dev/hypernet/nexus/pkg/nex"
|
||||||
"git.solsynth.dev/hypernet/nexus/pkg/proto"
|
"git.solsynth.dev/hypernet/nexus/pkg/proto"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
"strings"
|
|
||||||
|
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
@ -25,7 +26,7 @@ func InitializeToNexus() error {
|
|||||||
var err error
|
var err error
|
||||||
Nx, err = nex.NewNexusConn(viper.GetString("nexus_addr"), &proto.ServiceInfo{
|
Nx, err = nex.NewNexusConn(viper.GetString("nexus_addr"), &proto.ServiceInfo{
|
||||||
Id: viper.GetString("id"),
|
Id: viper.GetString("id"),
|
||||||
Type: "uc",
|
Type: "re",
|
||||||
Label: "Reader",
|
Label: "Reader",
|
||||||
GrpcAddr: grpcOutbound,
|
GrpcAddr: grpcOutbound,
|
||||||
HttpAddr: lo.ToPtr("http://" + httpOutbound + "/api"),
|
HttpAddr: lo.ToPtr("http://" + httpOutbound + "/api"),
|
||||||
|
Loading…
Reference in New Issue
Block a user