Add rover inventory capacity and test

This commit is contained in:
Marc Di Luzio 2020-07-04 12:01:35 +01:00
parent e6ff453ff1
commit 2eaed1447d
7 changed files with 104 additions and 47 deletions

View file

@ -72,6 +72,7 @@ func (s *Server) Rover(ctx context.Context, req *rove.RoverRequest) (*rove.Rover
},
Range: int32(rover.Range),
Inventory: inv,
Capacity: int32(rover.Capacity),
Integrity: int32(rover.Integrity),
}
}