fix failed pre-commit checks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user