Actions
Bug #32944
closedforeman-maintain os major detection
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Description
the helper routines 'el7?' and 'el8?' in foreman_maintain/concerns/system_helpers.rb contain an error:
an assignment is done instead of equality check
def el7?
os_facts['os']['release']['major'] = '7' && el?
end
should be
def el7?
os_facts['os']['release']['major'] == '7' && el?
end
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_maintain/pull/498 added
Updated by Amit Upadhye almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|e07671056ccc76ba1a885e80c2220001d5043b10.
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/482 added
Actions