Project

General

Profile

Actions

Bug #20898

closed

remove params from runtime_message by default

Added by Kavita Gaikwad over 7 years ago. Updated over 7 years ago.

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

Description

Currently, we have added runtime_message method which shows description + param details.
For some procedure, we don't need to show param details in round brackets.

As in "investigate the tasks via UI" procedure it showing below output:

  1. ./bin/foreman-maintain health check
    Running ForemanMaintain::Scenario::FilteredScenario ================================================================================
    Check for verifying syntax for ISP DHCP configurations: [OK]
    --------------------------------------------------------------------------------
    check for paused tasks: [FAIL]
    There are currently 46 paused tasks in the system
    --------------------------------------------------------------------------------
    There are multiple steps to proceed:
    1) resume paused tasks
    2) investigate the tasks via UI ({:search_query=>#<ForemanMaintain::Param:0x000000012cb400 @name=:search_query, @description="", @options={}, @required=false, @flag=false, @block=nil, @array=false>})
    Select step to continue, [n(next), q(quit)] 2
    investigate the tasks via UI:
    Go to https://satellite1.example.com/foreman_tasks/tasks?search=state+%3D+paused+AND+label+%21%5E%28Actions%3A%3ACandlepin%3A%3AListenOnCandlepinEvents+Actions%3A%3AKatello%3A%3AEventQueue%3A%3AMonitor%29
    press ENTER after the paused tasks are resolved.
Actions

Also available in: Atom PDF