mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-14 16:35:11 +01:00
Fix clippy lints
This commit is contained in:
parent
60de4d5ba8
commit
bd90f5c978
5 changed files with 22 additions and 22 deletions
|
|
@ -65,5 +65,5 @@ async fn do_request(req: RequestBuilder) -> Result<Response> {
|
|||
return Err(err).wrap_err(text);
|
||||
}
|
||||
|
||||
Ok(res.error_for_status().wrap_err("failed to get class")?)
|
||||
res.error_for_status().wrap_err("failed to get class")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ impl DataSource for ClassDataSource {
|
|||
|
||||
let class = self
|
||||
.client
|
||||
.get_class(&model.id.expect_known(AttrPath::attr("id"))?)
|
||||
.get_class(model.id.expect_known(AttrPath::attr("id"))?)
|
||||
.await
|
||||
.wrap_err("failed to get class")
|
||||
.eyre_to_tf()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue