De-scope - Remove unused rover capacity
This commit is contained in:
parent
71c2c09270
commit
d08a15e201
7 changed files with 41 additions and 66 deletions
|
@ -123,5 +123,4 @@ func TestServer_Rover(t *testing.T) {
|
|||
assert.NotZero(t, resp.Range, "Rover should return valid range")
|
||||
assert.NotZero(t, len(resp.Name), "Rover should return valid name")
|
||||
assert.NotZero(t, resp.Position, "Rover should return valid position")
|
||||
assert.NotZero(t, resp.Capacity, "Rover should return valid position")
|
||||
}
|
||||
|
|
|
@ -72,8 +72,7 @@ func (s *Server) Rover(ctx context.Context, req *rove.RoverRequest) (*rove.Rover
|
|||
X: int32(pos.X),
|
||||
Y: int32(pos.Y),
|
||||
},
|
||||
Range: int32(attrib.Range),
|
||||
Capacity: int32(attrib.Capacity),
|
||||
Range: int32(attrib.Range),
|
||||
}
|
||||
}
|
||||
return response, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue