Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyle committed Mar 25, 2024
1 parent b9f01cb commit 9d4a18f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 39 deletions.
62 changes: 31 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion cloud_connectors/mqtt_connector/src/mqtt_connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ mod azure_cloud_connector_tests {
};

let mut request = UpdateDigitalTwinRequest::default();
request.value = Some(Value { kind: Some(Kind::StringValue(String::new())) });
request.value = Some(Value {
kind: Some(Kind::StringValue(String::new())),
});

let request = tonic::Request::new(request);

Expand Down
7 changes: 2 additions & 5 deletions proto/cloud_connector/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ use freyja_build_common::compile_remote_proto;
use freyja_proto_common::interface_url;

fn main() -> Result<(), Box<dyn std::error::Error>> {
compile_remote_proto(
interface_url!(freyja, CLOUD_CONNECTOR_INTERFACE),
&[],
)?;
compile_remote_proto(interface_url!(freyja, CLOUD_CONNECTOR_INTERFACE), &[])?;

Ok(())
}
}
2 changes: 1 addition & 1 deletion proto/cloud_connector/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ pub use prost_types;

pub mod v1 {
tonic::include_proto!("cloud_connector");
}
}
2 changes: 1 addition & 1 deletion proto/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pub mod freyja {
pub const MAPPING_SERVICE_INTERFACE: &str =
"interfaces/mapping_service/v1/mapping_service.proto";
}
}
}

0 comments on commit 9d4a18f

Please sign in to comment.