fix extensions versions

This commit is contained in:
Willy Kloucek
2021-10-05 12:39:31 +02:00
parent 3afc5992e6
commit 68ba24ff73
54 changed files with 51 additions and 287 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import (
// RegisterGRPCEndpoint publishes an arbitrary endpoint to the service-registry. This allows to query nodes of
// non-micro GRPC-services like reva. No health-checks are done, thus the caller is responsible for canceling.
//
func RegisterGRPCEndpoint(ctx context.Context, serviceID, uuid, addr string, logger log.Logger) error {
func RegisterGRPCEndpoint(ctx context.Context, serviceID, uuid, addr string, version string, logger log.Logger) error {
node := &registry.Node{
Id: serviceID + "-" + uuid,
Address: addr,
@@ -29,7 +29,7 @@ func RegisterGRPCEndpoint(ctx context.Context, serviceID, uuid, addr string, log
service := &registry.Service{
Name: serviceID,
Version: "",
Version: version,
Nodes: []*registry.Node{node},
Endpoints: make([]*registry.Endpoint, 0),
}