mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
filter out usb stick during install (#1974)
* filter out usb stick during install * remove duplicate error kind * clean out newline
This commit is contained in:
@@ -108,7 +108,7 @@ impl HttpReader {
|
||||
"{} HTTP range downloading not supported with this unit {value}",
|
||||
http_url
|
||||
),
|
||||
crate::ErrorKind::HttpRange,
|
||||
crate::ErrorKind::MissingHeader,
|
||||
));
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@ impl HttpReader {
|
||||
"{} HTTP range downloading not supported with this url",
|
||||
http_url
|
||||
),
|
||||
crate::ErrorKind::HttpRange,
|
||||
crate::ErrorKind::MissingHeader,
|
||||
))
|
||||
}
|
||||
};
|
||||
@@ -136,7 +136,7 @@ impl HttpReader {
|
||||
None => {
|
||||
return Err(Error::new(
|
||||
eyre!("No content length headers for {}", http_url),
|
||||
crate::ErrorKind::ContentLength,
|
||||
crate::ErrorKind::MissingHeader,
|
||||
))
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user