Skip to content

Commit b99158e

Browse files
authored
Refs #38953 - Remove candlepin events from ping output (#1025)
1 parent 661a758 commit b99158e

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

lib/hammer_cli_katello/ping.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ class PingCommand < HammerCLIKatello::Command
2828
end
2929
end
3030

31-
label "candlepin_events" do
32-
from "candlepin_events" do
33-
field "status", _("Status")
34-
field "message", _("message")
35-
field "_response", _("Server Response")
36-
end
37-
end
38-
3931
label "katello_events" do
4032
from "katello_events" do
4133
field "status", _("Status")

test/functional/ping_test.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
'foreman_tasks' =>
99
{'status' => 'ok', 'duration_ms' => '34'},
1010
'candlepin' => {'status' => 'ok', 'duration_ms' => '34'},
11-
'candlepin_events' =>
12-
{'status' => 'ok', 'message' => '0 Processed, 0 Failed', 'duration_ms' => '34'},
1311
'candlepin_auth' =>
1412
{'status' => 'ok', 'duration_ms' => '34'},
1513
'katello_events' =>
@@ -27,7 +25,7 @@
2725
}
2826
end
2927
let(:standard_response_keys) do
30-
%w(katello_agent foreman_tasks candlepin candlepin_events
28+
%w(katello_agent foreman_tasks candlepin
3129
candlepin_auth katello_events pulp3 pulp3_content).sort
3230
end
3331
let(:hammer_ping) { %w(ping katello) }

0 commit comments

Comments
 (0)