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 {
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
You can’t perform that action at this time.
0 commit comments