diff options
author | Asmitha Karunanithi <asmitk01@in.ibm.com> | 2023-03-16 18:43:47 +0300 |
---|---|---|
committer | Asmitha Karunanithi <asmitk01@in.ibm.com> | 2023-03-16 18:55:08 +0300 |
commit | 535c760b6b039c100de6569cbad4bd8ca60bd3b0 (patch) | |
tree | 9f7273a2283502c97e80175aee5d929b0c6818a6 | |
parent | b38fa2abdb1f5f732d1a759cb13209682f7fd4df (diff) | |
download | bmcweb-535c760b6b039c100de6569cbad4bd8ca60bd3b0.tar.xz |
Fix resource delete event issue
This change corrects the event type when a resource is
removed.
Tested By:
Tested in the client side - resource removed events are received
Change-Id: Ib7b017c58401b9be674d330bc476d8c30d3721d6
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
-rw-r--r-- | redfish-core/include/resource_messages.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/resource_messages.hpp b/redfish-core/include/resource_messages.hpp index 309b293a65..7a71151732 100644 --- a/redfish-core/include/resource_messages.hpp +++ b/redfish-core/include/resource_messages.hpp @@ -38,7 +38,7 @@ inline nlohmann::json resourceCreated() inline nlohmann::json resourceRemoved() { return getLogResourceEvent( - redfish::registries::resource_event::Index::resourceCreated, {}); + redfish::registries::resource_event::Index::resourceRemoved, {}); } } // namespace messages |