Skip to content

Commit

Permalink
Formatting is almost perfect now
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Nov 14, 2024
1 parent 7f7be7b commit 5617071
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion rust/agama-lib/src/base_http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Response, ServiceError> {
let raw: Result<_, ServiceError> = self.client
let raw: Result<_, ServiceError> = self
.client
.get(self.url(path))
.send()
.await
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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] = [
Expand Down

0 comments on commit 5617071

Please sign in to comment.