Project

General

Profile

Actions

Bug #16311

closed

Typo in tasks cleanup rake task

Added by Ivan Necas over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Typo in cleanup.rake: should be
`puts _('The tasks will be deleted after %{after}') % { :after => ForemanTasks::Cleaner.cleanup_settings[:after] }`.

How to reproduce:

1. in Foreman's `config/settings.plugins.d/foreman_tasks.yaml`:

:foreman-tasks:
  :cleanup:
    :after: 365d

2. run `foreman-rake foreman_tasks:cleanup:config` to see the configuration

Expected:

Everything works

Current status:

ArgumentError: one hash required
Actions #1

Updated by Ivan Necas over 7 years ago

  • Description updated (diff)
Actions #2

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-tasks/pull/196 added
Actions #3

Updated by Ivan Necas over 7 years ago

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

Also available in: Atom PDF