Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Ensure we don't fetch a release greater then host version
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicaj committed Aug 29, 2019
1 parent ea9d5c7 commit 282a3e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iocage_lib/ioc_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ def fetch_release(self, _list=False):
else:
eol = []

if self.release:
iocage_lib.ioc_common.check_release_newer(
self.release, callback=self.callback, silent=self.silent
)
rel = self.fetch_http_release(eol, _list=_list)

if _list:
Expand Down

0 comments on commit 282a3e9

Please sign in to comment.