Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pschork committed Jul 10, 2024
1 parent 44695ea commit afd5cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/grpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (s *Server) serveRetrieval() error {

func (s *Server) NodeInfo(ctx context.Context, in *pb.NodeInfoRequest) (*pb.NodeInfoReply, error) {
if s.config.DisableNodeInfoResources {
return &pb.NodeInfoReply{Semver: node.SemVer, Os: "", Arch: "", NumCpu: 0, MemBytes: 0}, nil
return &pb.NodeInfoReply{Semver: node.SemVer}, nil
}

memBytes := uint64(0)
Expand Down

0 comments on commit afd5cd2

Please sign in to comment.