Skip to content

Commit

Permalink
Adress review comment and update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch committed Nov 19, 2024
1 parent 3704194 commit d4c4941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions databroker/src/grpc/kuksa_val_v2/val.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ mod tests {
.await
.map(|res| res.into_inner())
{
Ok(_) => {}
Ok(_) => {panic!("We shall not succeed with a blank before *")}
Err(error) => {
assert_eq!(
error.code(),
Expand Down Expand Up @@ -2385,7 +2385,7 @@ mod tests {
.await
.map(|res| res.into_inner())
{
Ok(_) => {}
Ok(_) => {panic!("Success not expected!")}
Err(error) => {
assert_eq!(error.code(), tonic::Code::NotFound, "unexpected error code");
assert_eq!(
Expand Down
2 changes: 1 addition & 1 deletion doc/protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This is an overview of the APIs supported described using the perspectives above
| ------------------------ |-----|-----|-----|-----|-----|-----|-----|-----|-----|
| gRPC (kuksa.val.v2) | Yes | Yes | Yes | No | No | No | Yes | No | Yes
| gRPC (kuksa.val.v1) *Deprecated!* | Yes | Yes | Yes | Yes | Yes | Yes | No | No | No
| gRPC (sdv.databroker.v1) *Deprecated!* | Yes | Yes | Yes | Yes | Yes | Yes | No | No | No
| gRPC (sdv.databroker.v1) *Deprecated!* | Yes | Yes | Yes | Yes | No | No | No | No | No
| VISS v2 | No | Yes | Yes | Yes | No | No | No | No | No

In general it is possible to mix protocols in a deployment, as long as the difference concerning Target/Actuation values are observed.
Expand Down

0 comments on commit d4c4941

Please sign in to comment.