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:
@@ -45,6 +45,11 @@ func (f *RemoteFile) String() string {
|
||||
}
|
||||
|
||||
func (f *RemoteFile) AvailabilityChanges() bool {
|
||||
if f.lastError != nil {
|
||||
if _, ok := f.lastError.(pkg.ErrNotFound); ok {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user