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
|
||||
.headers()
|
||||
.get(reqwest::header::ETAG)
|
||||
.ok_or_else(|| ProxyError::EtagError)?
|
||||
.ok_or(ProxyError::EtagError)?
|
||||
.to_str()?
|
||||
.to_owned();
|
||||
let data: ConfigData = response.json().await?;
|
||||
|
Reference in New Issue
Block a user