Created
April 14, 2020 07:09
-
-
Save eloquence/200baed5444490428ce3662434a2ac34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78,83c78 | |
< if vm == "dom0": | |
< return _check_updates_dom0() | |
< elif vm == "fedora": | |
< return _check_updates_fedora() | |
< else: | |
< return _check_updates_debian(vm) | |
--- | |
> return UpdateStatus.UPDATES_REQUIRED | |
93,99d87 | |
< upgrade_results = UpdateStatus.UPDATES_FAILED | |
< | |
< if vm == "dom0": | |
< upgrade_results = _apply_updates_dom0() | |
< else: | |
< upgrade_results = _apply_updates_vm(vm) | |
< | |
101c89 | |
< yield vm, progress_percentage, upgrade_results | |
--- | |
> yield vm, progress_percentage, UpdateStatus.UPDATES_OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment