mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 20:08:09 +00:00
fix clippy issue (#367)
This commit is contained in:
@ -104,7 +104,7 @@ impl Config {
|
|||||||
let etag = response
|
let etag = response
|
||||||
.headers()
|
.headers()
|
||||||
.get(reqwest::header::ETAG)
|
.get(reqwest::header::ETAG)
|
||||||
.ok_or_else(|| ProxyError::EtagError)?
|
.ok_or(ProxyError::EtagError)?
|
||||||
.to_str()?
|
.to_str()?
|
||||||
.to_owned();
|
.to_owned();
|
||||||
let data: ConfigData = response.json().await?;
|
let data: ConfigData = response.json().await?;
|
||||||
|
Reference in New Issue
Block a user