Skip to content

Commit

Permalink
reformat the code
Browse files Browse the repository at this point in the history
  • Loading branch information
chenquan committed Jan 14, 2024
1 parent 07fd2ae commit 4e174c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arroyo-connectors/src/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ fn validate_column(

Ok(column)
}

enum Clients {
Standard(Client),
Clustered(ClusterClient),
}

fn create_redis_client(config: &RedisConfig) -> anyhow::Result<Clients> {
match &config.connection {
RedisConfigConnection::Standard {
Expand Down Expand Up @@ -107,6 +109,7 @@ fn create_redis_client(config: &RedisConfig) -> anyhow::Result<Clients> {
}
}
}

async fn test_inner(
c: RedisConfig,
tx: tokio::sync::mpsc::Sender<Result<Event, Infallible>>,
Expand Down

0 comments on commit 4e174c8

Please sign in to comment.