Refactor #19699
Remove unnecessary monkey patching
Pull request:
Fixed in Releases:
Found in Releases:
Description
In host_action_subject.rb
, there is monkey patching of import_host
method.
It is not necessary and will cause problems once fact import process is changed.
Related issues
Associated revisions
Refs #19699 - Fixed older method signature
History
#1
Updated by Shimon Shtein about 5 years ago
- Related to Refactor #15409: Refactor (puppet) facts out of host classes. added
#2
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/251 added
#3
Updated by Shimon Shtein almost 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset bdd395f979dae458c0c49527e2a141d6670057a3.
#4
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/theforeman/foreman-tasks/pull/288 added
#5
Updated by Ivan Necas almost 5 years ago
- Legacy Backlogs Release (now unused) set to 315
Fixes #19699 - Removed import_host monkey patch
Once https://github.com/theforeman/foreman/pull/3649 gets in core,
there will be no need for monkey patch.
In addition, it handles changes in `#import_host` signature.