Compare commits

..

1 Commits

Author SHA1 Message Date
6707e7e403 fix failed pre-commit checks
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-08 18:02:09 +01:00
2 changed files with 2 additions and 4 deletions

View File

@@ -6,4 +6,3 @@
# sleep 10 # sleep 10
/home/home4/institut_1b/jheuel/repositories/zoidberg/target/release/zoidberg_client /home/home4/institut_1b/jheuel/repositories/zoidberg/target/release/zoidberg_client

View File

@@ -155,9 +155,8 @@ async fn main() -> Result<(), Box<dyn Error>> {
std::process::exit(1); std::process::exit(1);
}); });
let server = std::env::var("ZOIDBERG_SERVER").unwrap_or_else(|_| { let server = std::env::var("ZOIDBERG_SERVER")
String::from(matches.value_of("server").unwrap()) .unwrap_or_else(|_| String::from(matches.value_of("server").unwrap()));
});
let client = Arc::new( let client = Arc::new(
Worker::new(&server, &secret, threads) Worker::new(&server, &secret, threads)