|
@@ -5,6 +5,10 @@ import (
|
|
|
"log/slog"
|
|
|
)
|
|
|
|
|
|
+import (
|
|
|
+ "google.golang.org/protobuf/types/known/emptypb"
|
|
|
+)
|
|
|
+
|
|
|
import (
|
|
|
"protocol-server/common"
|
|
|
pb "protocol-server/rpc_idl/dr_protocol_pb"
|
|
@@ -14,7 +18,7 @@ type BasicServer struct {
|
|
|
pb.UnimplementedBasicServer
|
|
|
}
|
|
|
|
|
|
-func (s *BasicServer) SoftwareInfo(_ context.Context, in *pb.EmptyRequest) (*pb.SoftwareInfoReply, error) {
|
|
|
+func (s *BasicServer) SoftwareInfo(_ context.Context, in *emptypb.Empty) (*pb.SoftwareInfoReply, error) {
|
|
|
slog.Info("Received SoftwareInfo")
|
|
|
return &pb.SoftwareInfoReply{
|
|
|
Module: common.Module,
|