Project

General

Profile

Actions

Bug #16311

closed

Typo in tasks cleanup rake task

Added by Ivan Necas about 8 years ago. Updated over 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

Also available in: Atom PDF