File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ impl TestConfig {
125
125
let gateway_api_key = get_s ( "GATEWAY_API_KEY" , GATEWAY_API_KEY ) ;
126
126
127
127
// 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 ( ) ) ;
130
130
131
131
// TODO: default values from constants or load contrib/local-network/.env
132
132
let account0_address = get_s ( "ACCOUNT0_ADDRESS" , ACCOUNT0_ADDRESS ) ;
@@ -193,7 +193,7 @@ impl TestConfig {
193
193
/// Extract the configuration file from the running tap-agent Docker container
194
194
fn extract_tap_agent_config_from_docker ( ) -> Result < String > {
195
195
let output = Command :: new ( "docker" )
196
- . args ( & [ "exec" , "tap-agent" , "cat" , "/opt/config.toml" ] )
196
+ . args ( [ "exec" , "tap-agent" , "cat" , "/opt/config.toml" ] )
197
197
. output ( )
198
198
. map_err ( |e| anyhow:: anyhow!( "Failed to execute docker command: {}" , e) ) ?;
199
199
You can’t perform that action at this time.
0 commit comments