From 4952611acccc64a3809b921269530776582c8157 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Mon, 22 Feb 2021 10:42:24 +0100 Subject: [PATCH] Fixed lints --- backend/src/kubernetes.rs | 6 +++++- backend/src/manager.rs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backend/src/kubernetes.rs b/backend/src/kubernetes.rs index 0bc7ba7b2..408aedbd6 100644 --- a/backend/src/kubernetes.rs +++ b/backend/src/kubernetes.rs @@ -723,7 +723,11 @@ impl Engine { .duration .unwrap_or(self.configuration.session_defaults.duration); - log::info!("Creating session for user {} with template {}", user.id, conf.template); + log::info!( + "Creating session for user {} with template {}", + user.id, + conf.template + ); // Deploy a new pod for this image pod_api diff --git a/backend/src/manager.rs b/backend/src/manager.rs index a41a56d7b..ba9685226 100644 --- a/backend/src/manager.rs +++ b/backend/src/manager.rs @@ -105,7 +105,7 @@ impl Manager { Err(err) => { warn!("Failed to call get: {}", err); sessions2.remove(id); - }, + } Ok(None) => warn!("No matching pod: {}", id), } }