Rename MRSK_EVENT -> MRSK_MESSAGE

It's a better name, and frees up `MRSK_EVENT` to be used later.
This commit is contained in:
Kevin McConnell
2023-04-14 16:11:42 +01:00
parent 828e56912e
commit 99fe31d4b4
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class Mrsk::Commands::Auditor < Mrsk::Commands::Base
"MRSK_PERFORMER" => performer, "MRSK_PERFORMER" => performer,
"MRSK_ROLE" => role, "MRSK_ROLE" => role,
"MRSK_DESTINATION" => config.destination, "MRSK_DESTINATION" => config.destination,
"MRSK_EVENT" => line "MRSK_MESSAGE" => line
} }
end end

View File

@@ -50,7 +50,7 @@ class CommandsAuditorTest < ActiveSupport::TestCase
assert_equal "bob", env["MRSK_PERFORMER"] assert_equal "bob", env["MRSK_PERFORMER"]
assert_equal "web", env["MRSK_ROLE"] assert_equal "web", env["MRSK_ROLE"]
assert_equal "staging", env["MRSK_DESTINATION"] assert_equal "staging", env["MRSK_DESTINATION"]
assert_equal "app removed container", env["MRSK_EVENT"] assert_equal "app removed container", env["MRSK_MESSAGE"]
end end
private private