mirror of
https://github.com/rancher/os.git
synced 2025-09-01 06:40:31 +00:00
treat 404 error on datasource as unrecoverable
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -276,6 +276,7 @@ func selectDatasource(sources []datasource.Datasource) datasource.Datasource {
|
||||
for {
|
||||
log.Infof("cloud-init: Checking availability of %q\n", s.Type())
|
||||
if s.IsAvailable() {
|
||||
log.Infof("cloud-init: Datasource GOOD: %s", s)
|
||||
ds <- s
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user