From 5617071a93ddabd911460c7ed213dc73556bbceb Mon Sep 17 00:00:00 2001 From: Michal Filka Date: Thu, 14 Nov 2024 10:14:33 +0100 Subject: [PATCH] Formatting is almost perfect now --- rust/agama-lib/src/base_http_client.rs | 3 ++- rust/agama-lib/src/logs.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rust/agama-lib/src/base_http_client.rs b/rust/agama-lib/src/base_http_client.rs index 5a868ae3a..bb29e5bf4 100644 --- a/rust/agama-lib/src/base_http_client.rs +++ b/rust/agama-lib/src/base_http_client.rs @@ -229,7 +229,8 @@ impl BaseHTTPClient { /// Returns raw reqwest::Response. Use e.g. in case when response content is not /// JSON body but e.g. binary data pub async fn get_raw(&self, path: &str) -> Result { - let raw: Result<_, ServiceError> = self.client + let raw: Result<_, ServiceError> = self + .client .get(self.url(path)) .send() .await diff --git a/rust/agama-lib/src/logs.rs b/rust/agama-lib/src/logs.rs index 4e28045d0..415df032f 100644 --- a/rust/agama-lib/src/logs.rs +++ b/rust/agama-lib/src/logs.rs @@ -38,7 +38,7 @@ const DEFAULT_COMMANDS: [(&str, &str); 5] = [ ("journalctl -u agama-auto", "agama-auto"), ("journalctl -u agama-web-server", "agama-web-server"), ("journalctl --dmesg", "dmesg"), - ("rpm -qa", "rpm-qa" ), + ("rpm -qa", "rpm-qa"), ]; const DEFAULT_PATHS: [&str; 13] = [