Skip to content

Commit

Permalink
Update grpc.rs typo (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonschiang committed Jul 15, 2024
1 parent fef8589 commit f95d10b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions micro-rdk/src/common/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ where
"/viam.component.motor.v1.MotorService/DoCommand" => self.motor_do_command(payload),
"/viam.robot.v1.RobotService/ResourceNames" => self.resource_names(payload),
"/viam.robot.v1.RobotService/GetStatus" => self.robot_status(payload),
"/viam.robot.v1.RobotService/GetOperations" => self.robot_get_oprations(payload),
"/viam.robot.v1.RobotService/GetOperations" => self.robot_get_operations(payload),
"/proto.rpc.v1.AuthService/Authenticate" => self.auth_service_authentificate(payload),
"/viam.component.sensor.v1.SensorService/GetReadings" => {
self.sensor_get_readings(payload)
Expand Down Expand Up @@ -1207,7 +1207,7 @@ where

// robot_get_operations returns an empty response since operations are not yet
// supported on micro-rdk
fn robot_get_oprations(&mut self, _: &[u8]) -> Result<(), ServerError> {
fn robot_get_operations(&mut self, _: &[u8]) -> Result<(), ServerError> {
let operation = robot::v1::GetOperationsResponse::default();
self.encode_message(operation)
}
Expand Down

0 comments on commit f95d10b

Please sign in to comment.