ovirt: Fix check for upgrade when no updates (#33940)
This commit is contained in:
parent
1c157a8cf1
commit
285f1187e0
1 changed files with 5 additions and 2 deletions
|
@ -476,8 +476,11 @@ def main():
|
||||||
event
|
event
|
||||||
for event in events_service.list(
|
for event in events_service.list(
|
||||||
from_=int(last_event.id),
|
from_=int(last_event.id),
|
||||||
search='type=885 and host.name=%s' % host.name,
|
search='type=885',
|
||||||
)
|
# Uncomment when 4.1 is EOL, and remove the cond:
|
||||||
|
# if host.name in event.description
|
||||||
|
# search='type=885 and host.name=%s' % host.name,
|
||||||
|
) if host.name in event.description
|
||||||
]) > 0
|
]) > 0
|
||||||
),
|
),
|
||||||
fail_condition=lambda host: len([
|
fail_condition=lambda host: len([
|
||||||
|
|
Loading…
Add table
Reference in a new issue