Commit f0984b5
committed
aws: account for AL2023 mirror.list not having newline
The previous mirror.list endpoints for AL1 and AL2 had newlines at the
end which the code accounted for (by splitting on newlines and
discounting the last entry). AL2023 doesn't have a new line so we were
consuming the one url and then discounting it. This change trims the
final newline if it exists and then splits on newlines.
Signed-off-by: crozzy <joseph.crosland@gmail.com>1 parent 165bf75 commit f0984b5
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
| 207 | + | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments