Skip to content

Commit

Permalink
Change default scheduler from (none) to (system)
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Arlt <parlt@suse.com>
  • Loading branch information
parlt91 committed May 2, 2023
1 parent c1120c4 commit 0f45f2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SELECT EVENT_ID as ID,
WHERE SH.server_id = :sid
UNION
SELECT SA.action_id EVENT_ID,
AType.name || ' scheduled by ' || NVL(U.login, '(none)') AS SUMMARY,
AType.name || ' scheduled by ' || NVL(U.login, '(system)') AS SUMMARY,
SA.created,
SA.pickup_time AS picked_up,
SA.completion_time AS completed,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,7 @@ select event_id as id,
where SH.server_id = :sid
union
select SA.action_id event_id,
COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') as summary,
COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') as summary,
SA.created,
SA.pickup_time as picked_up,
SA.completion_time as completed,
Expand Down Expand Up @@ -1852,7 +1852,7 @@ order by completed desc, picked_up desc, all_events.created desc, event_id desc
AND SH.id = :eid
union
select SA.action_id event_id,
COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') as summary,
COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') as summary,
SA.created,
SA.pickup_time as picked_up,
SA.completion_time as completed,
Expand Down Expand Up @@ -1888,7 +1888,7 @@ select count(action_id) as count
class="com.redhat.rhn.frontend.dto.SystemPendingEventDto">
<query params="sid">
SELECT SA.action_id AS id
, COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') AS summary
, COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') AS summary
, A.earliest_action AS scheduled_for
, AType.label AS history_type
, AType.name AS history_type_name
Expand All @@ -1910,7 +1910,7 @@ ORDER BY scheduled_for DESC, prereq_aid NULLS FIRST
class="com.redhat.rhn.frontend.dto.SystemPendingEventDto">
<query params="sid, user_id, set_label">
SELECT SA.action_id AS ID
, COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') AS summary
, COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') AS summary
, A.earliest_action AS scheduled_for
, AType.label AS history_type
, AType.name AS history_type_name
Expand Down

0 comments on commit 0f45f2c

Please sign in to comment.