Skip to content

Commit f7ce177

Browse files
committed
ci: make clippy happy
1 parent c9228b9 commit f7ce177

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration-tests/src/test_config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ impl TestConfig {
125125
let gateway_api_key = get_s("GATEWAY_API_KEY", GATEWAY_API_KEY);
126126

127127
// Database URL with fallback to constants::POSTGRES_URL
128-
let database_url = env::var("DATABASE_URL")
129-
.unwrap_or_else(|_| crate::constants::POSTGRES_URL.to_string());
128+
let database_url =
129+
env::var("DATABASE_URL").unwrap_or_else(|_| crate::constants::POSTGRES_URL.to_string());
130130

131131
// TODO: default values from constants or load contrib/local-network/.env
132132
let account0_address = get_s("ACCOUNT0_ADDRESS", ACCOUNT0_ADDRESS);
@@ -193,7 +193,7 @@ impl TestConfig {
193193
/// Extract the configuration file from the running tap-agent Docker container
194194
fn extract_tap_agent_config_from_docker() -> Result<String> {
195195
let output = Command::new("docker")
196-
.args(&["exec", "tap-agent", "cat", "/opt/config.toml"])
196+
.args(["exec", "tap-agent", "cat", "/opt/config.toml"])
197197
.output()
198198
.map_err(|e| anyhow::anyhow!("Failed to execute docker command: {}", e))?;
199199

0 commit comments

Comments
 (0)