Add Charge and Max Charge attributes to the rover
This commit is contained in:
parent
b066277ddf
commit
143fba505e
5 changed files with 85 additions and 39 deletions
|
@ -75,6 +75,8 @@ func (s *Server) Rover(ctx context.Context, req *rove.RoverRequest) (*rove.Rover
|
|||
Capacity: int32(rover.Capacity),
|
||||
Integrity: int32(rover.Integrity),
|
||||
MaximumIntegrity: int32(rover.MaximumIntegrity),
|
||||
Charge: int32(rover.Charge),
|
||||
MaximumCharge: int32(rover.MaximumCharge),
|
||||
}
|
||||
}
|
||||
return response, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue