Skip to content

Commit

Permalink
i hate submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorPlatz committed Nov 28, 2023
1 parent bdfd994 commit 1210c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Ecdar-ProtoBuf
Submodule Ecdar-ProtoBuf updated 2 files
+24 −1 api.proto
+1 −1 services.proto
4 changes: 2 additions & 2 deletions src/api/ecdar_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use super::server::server::{
DeleteAccessRequest, DeleteQueryRequest, GetAuthTokenRequest, GetAuthTokenResponse,
ListAccessInfoResponse, QueryRequest, QueryResponse, SimulationStartRequest,
SimulationStepRequest, SimulationStepResponse, UpdateAccessRequest, UpdateQueryRequest,
UpdateUserRequest, UserTokenResponse,
UpdateUserRequest, UserTokenResponse, GetModelRequest, GetModelResponse,
};
use super::server::server::{CreateModelRequest, DeleteModelRequest};
use crate::entities::{access, model, query, session, user};

Check warning on line 27 in src/api/ecdar_api.rs

View workflow job for this annotation

GitHub Actions / Clippy lint and check

unused import: `model`

warning: unused import: `model` --> src/api/ecdar_api.rs:27:31 | 27 | use crate::entities::{access, model, query, session, user}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default

Check warning on line 27 in src/api/ecdar_api.rs

View workflow job for this annotation

GitHub Actions / Clippy lint and check

unused import: `model`

warning: unused import: `model` --> src/api/ecdar_api.rs:27:31 | 27 | use crate::entities::{access, model, query, session, user}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default
Expand Down Expand Up @@ -126,7 +126,7 @@ impl ConcreteEcdarApi {

Check warning on line 126 in src/api/ecdar_api.rs

View workflow job for this annotation

GitHub Actions / cargo fmt

Diff in /home/runner/work/Ecdar-API/Ecdar-API/src/api/ecdar_api.rs
#[tonic::async_trait]
impl EcdarApi for ConcreteEcdarApi {
async fn get_model(&self, _request: Request<()>) -> Result<Response<()>, Status> {
async fn get_model(&self, _request: Request<GetModelRequest>) -> Result<Response<GetModelResponse>, Status> {
todo!()
}

Expand Down

0 comments on commit 1210c2f

Please sign in to comment.