Skip to content
Snippets Groups Projects
Commit db0d0c0a authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

typos

parent 32a5f826
No related branches found
No related tags found
2 merge requests!104Unified Storage Architecture,!90Develop
Pipeline #65592 passed with warnings
...@@ -39,7 +39,6 @@ type server struct { ...@@ -39,7 +39,6 @@ type server struct {
pb.UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
var srv *server var srv *server
...@@ -262,7 +261,7 @@ func (s *server) AddDevice(ctx context.Context, in *pb.AddDeviceRequest) (*pb.Ad ...@@ -262,7 +261,7 @@ func (s *server) AddDevice(ctx context.Context, in *pb.AddDeviceRequest) (*pb.Ad
return &pb.AddDeviceReply{Message: "Added new Device: " + newDevice.Config.Uuid.String()}, err return &pb.AddDeviceReply{Message: "Added new Device: " + newDevice.Config.Uuid.String()}, err
} }
// HandleDeviceGetRequest handles a GET request via newPnd.Request() // HandleDeviceGetRequest handles a GET request via pnd.Request()
func (s *server) HandleDeviceGetRequest(ctx context.Context, in *pb.DeviceGetRequest) (*pb.DeviceGetReply, error) { func (s *server) HandleDeviceGetRequest(ctx context.Context, in *pb.DeviceGetRequest) (*pb.DeviceGetReply, error) {
log.Info("Received: HandleDeviceGetRequest") log.Info("Received: HandleDeviceGetRequest")
uuidPND, err := uuid.Parse(in.GetUuidPND()) uuidPND, err := uuid.Parse(in.GetUuidPND())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment