1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2023-07-16 17:40:36 +02:00
commit 77813fd17c

View file

@ -95,7 +95,7 @@ async fn main() -> Result<()> {
let container = if let Some(service) = service { let container = if let Some(service) = service {
service service
.container_name(&cloud.id) .container_name(&cloud.id)
.ok_or_else(|| Report::msg(format!("service has no logs")))? .ok_or_else(|| Report::msg("service has no logs".to_string()))?
} else { } else {
cloud.id cloud.id
}; };