Fix for hyper interface change

This commit is contained in:
Ignotus Peverell
2017-04-05 23:28:53 -07:00
parent afb219ce5c
commit f16c4ac59b
+1 -1
View File
@@ -181,7 +181,7 @@ pub fn gist_seeds(h: reactor::Handle) -> Box<Future<Item = Vec<SocketAddr>, Erro
client.get(url)
.map_err(|e| e.to_string())
.and_then(|res| {
if *res.status() != hyper::Ok {
if res.status() != hyper::Ok {
return Err(format!("Gist request failed: {}", res.status()));
}
Ok(res)