mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Fix operator precedence. #131
This commit is contained in:
@@ -318,7 +318,7 @@ func DownloadTryCompression(downloader aptly.Downloader, url string, expectedChe
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
if err1, ok := err.(*HTTPError); ok && err1.Code == 404 || err1.Code == 403 {
|
||||
if err1, ok := err.(*HTTPError); ok && (err1.Code == 404 || err1.Code == 403) {
|
||||
continue
|
||||
}
|
||||
return nil, nil, err
|
||||
|
||||
Reference in New Issue
Block a user