diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-28 21:31:49 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-28 21:31:49 +0200 |
commit | 7b142554d808a494df4ba9e616c58861370ccd93 (patch) | |
tree | 91f63584dc5405b57926a8daeaee3c9c49b3234c /planetwars-server/src/routes/matches.rs | |
parent | e7da88c6a5135e78acea3a29040cfbf1e7e0b71f (diff) | |
download | planetwars.dev-7b142554d808a494df4ba9e616c58861370ccd93.tar.xz planetwars.dev-7b142554d808a494df4ba9e616c58861370ccd93.zip |
move match running logic to separate module
Diffstat (limited to 'planetwars-server/src/routes/matches.rs')
-rw-r--r-- | planetwars-server/src/routes/matches.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/planetwars-server/src/routes/matches.rs b/planetwars-server/src/routes/matches.rs index 991a4b5..b61008d 100644 --- a/planetwars-server/src/routes/matches.rs +++ b/planetwars-server/src/routes/matches.rs @@ -52,7 +52,6 @@ pub async fn play_match( .map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?; players.push(MatchPlayer { - name: bot.name.clone(), bot_spec: Box::new(DockerBotSpec { code_path: PathBuf::from(BOTS_DIR).join(code_bundle.path), image: "python:3.10-slim-buster".to_string(), |