From e7c68a137d4f1e3af71fdac297f44438e016830f Mon Sep 17 00:00:00 2001 From: jnathangreeg Date: Wed, 11 Sep 2024 17:14:08 +0300 Subject: [PATCH 1/2] add run time incidents command Signed-off-by: jnathangreeg --- pulsar/common/kdr/commands.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pulsar/common/kdr/commands.go diff --git a/pulsar/common/kdr/commands.go b/pulsar/common/kdr/commands.go new file mode 100644 index 0000000..f3f4287 --- /dev/null +++ b/pulsar/common/kdr/commands.go @@ -0,0 +1,14 @@ +package kdr + +type RuntimeIncidentCommand string + +const ( + // msgKeys + CommandKey = "command" +) + + +const ( + // runtime incident actions + RuntimeIncidentResponseCommand = RuntimeIncidentCommand("runtime-incident-response-command") +) \ No newline at end of file From 88341cbc43c306bb256eb1d25dda381c3ff8c665 Mon Sep 17 00:00:00 2001 From: jnathangreeg Date: Wed, 11 Sep 2024 17:18:20 +0300 Subject: [PATCH 2/2] fixing spare space Signed-off-by: jnathangreeg --- pulsar/common/kdr/commands.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pulsar/common/kdr/commands.go b/pulsar/common/kdr/commands.go index f3f4287..1b7dfa2 100644 --- a/pulsar/common/kdr/commands.go +++ b/pulsar/common/kdr/commands.go @@ -4,11 +4,10 @@ type RuntimeIncidentCommand string const ( // msgKeys - CommandKey = "command" + CommandKey = "command" ) - const ( // runtime incident actions RuntimeIncidentResponseCommand = RuntimeIncidentCommand("runtime-incident-response-command") -) \ No newline at end of file +)