Skip to content

Commit 3c0ebd2

Browse files
committed
fix: resolve clippy uninlined_format_args warning in LXD client
1 parent 21b2f3b commit 3c0ebd2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/infrastructure/adapters/lxd/client.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ impl LxdClient {
137137

138138
if start_time.elapsed() >= timeout {
139139
return Err(anyhow::anyhow!(
140-
"Timeout waiting for instance '{}' to get IP address after {:?}",
141-
instance_name,
142-
timeout
140+
"Timeout waiting for instance '{instance_name}' to get IP address after {timeout:?}"
143141
));
144142
}
145143

0 commit comments

Comments
 (0)