From f15c4093c1c5822a43872c139a89a7013a748768 Mon Sep 17 00:00:00 2001 From: Larry Liu Date: Fri, 14 Jun 2024 16:46:37 -0700 Subject: [PATCH] fix the lint. --- .../indexer-grpc-data-service/src/config.rs | 5 ++++- .../indexer-grpc-data-service/src/service.rs | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ecosystem/indexer-grpc/indexer-grpc-data-service/src/config.rs b/ecosystem/indexer-grpc/indexer-grpc-data-service/src/config.rs index e7fa1f0a1ee801..797154c86cf8b4 100644 --- a/ecosystem/indexer-grpc/indexer-grpc-data-service/src/config.rs +++ b/ecosystem/indexer-grpc/indexer-grpc-data-service/src/config.rs @@ -148,7 +148,10 @@ impl RunnableConfig for IndexerGrpcDataServiceConfig { StorageFormat::Base64UncompressedProto }; - println!(">>>> Starting Redis connection: {:?}", &self.redis_read_replica_address.0); + println!( + ">>>> Starting Redis connection: {:?}", + &self.redis_read_replica_address.0 + ); let redis_conn = redis::Client::open(self.redis_read_replica_address.0.clone())? .get_tokio_connection_manager() .await?; diff --git a/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs b/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs index e9bc214411e68a..107efd75440d2c 100644 --- a/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs +++ b/ecosystem/indexer-grpc/indexer-grpc-data-service/src/service.rs @@ -88,8 +88,14 @@ impl std::fmt::Debug for RawDataServerWrapper { f.debug_struct("RawDataServerWrapper") .field("redis_client", &"Arc") .field("file_store_config", &self.file_store_config) - .field("data_service_response_channel_size", &self.data_service_response_channel_size) - .field("sender_addresses_to_ignore", &self.sender_addresses_to_ignore) + .field( + "data_service_response_channel_size", + &self.data_service_response_channel_size, + ) + .field( + "sender_addresses_to_ignore", + &self.sender_addresses_to_ignore, + ) .field("cache_storage_format", &self.cache_storage_format) .finish() }