Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style: apply rustfmt formatting to storage host invocation

Steven Enamakel0b884837709a
diff --git a/crates/openhuman-core/src/modules/storage_host_invocation.rs b/crates/openhuman-core/src/modules/storage_host_invocation.rs
index 4529dc60b0..cb325f9961 100644
--- a/crates/openhuman-core/src/modules/storage_host_invocation.rs
+++ b/crates/openhuman-core/src/modules/storage_host_invocation.rs
@@ -10,7 +10,7 @@ use std::sync::atomic::{AtomicBool, AtomicU64, Ordering};
use std::sync::Arc;
use async_trait::async_trait;
-use serde_json::{Value, json};
+use serde_json::{json, Value};
use tinybus::module::ModuleRuntime;
use tinybus::{BusName, ObjectPath};
use tinystoragedrivers_api::BlobReader;
@@ -73,12 +73,9 @@ impl InvocationStorageBinding {
active: Arc::clone(&active),
server: StorageServer::new(storage),
});
- let served = tinystoragedrivers_busproxy::serve_at_address(
- connection,
- address.clone(),
- endpoint,
- )
- .await?;
+ let served =
+ tinystoragedrivers_busproxy::serve_at_address(connection, address.clone(), endpoint)
+ .await?;
Ok(Self {
address: CallbackAddress {
host: address.host().to_string(),
@@ -161,9 +158,7 @@ impl StorageEndpoint for DocumentsOnlyEndpoint {
)
.await
.map_err(HostFailure::Storage),
- (Object::Streams, "Capabilities") => {
- Ok(json!(CapabilitiesReply::default()))
- }
+ (Object::Streams, "Capabilities") => Ok(json!(CapabilitiesReply::default())),
(Object::Blobs, "Capabilities") => Ok(json!(BlobCapabilities::default())),
(Object::Kv, "Capabilities") => Ok(json!(KvCapabilitiesReply::default())),
(Object::Queues, "Features") => Ok(json!(QueueFeaturesReply::default())),