Project

General

Profile

Bug #15659

PowerManager::Virt uses deprecated Object#timeout method

Added by Dominic Cleal about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Rails
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

The PowerManager::Virt class uses a deprecated timeout method, causing warnings on Ruby 2.3:

/home/dcleal/code/foreman/foreman/app/services/power_manager/virt.rb:6:in `initialize': Object#timeout is deprecated, use Timeout.timeout instead.

(seen from test/unit/power_manager_test.rb)

Associated revisions

Revision d89ca436 (diff)
Added by Dominic Cleal about 4 years ago

fixes #15659 - replace deprecated Object#timeout call

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3641 added

#2 Updated by Dominic Cleal about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 160

Also available in: Atom PDF