s/registry1/registryMatch
Change the name of registry1 to a more descriptive variable name
registryMatch
Tested: none
Change-Id: I217d576e80822c81fae2cd7fdb22e2b8eebf5cd8
Signed-off-by: John Edward Broadbent <jebr@google.com>
diff --git a/redfish-core/lib/message_registries.hpp b/redfish-core/lib/message_registries.hpp
index f770488..43359e3 100644
--- a/redfish-core/lib/message_registries.hpp
+++ b/redfish-core/lib/message_registries.hpp
@@ -124,7 +124,7 @@
inline void handleMessageRegistryGet(
const crow::Request&, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
- const std::string& registry, const std::string& registry1)
+ const std::string& registry, const std::string& registryMatch)
{
const message_registries::Header* header;
@@ -173,9 +173,9 @@
return;
}
- if (registry != registry1)
+ if (registry != registryMatch)
{
- messages::resourceNotFound(asyncResp->res, header->type, registry1);
+ messages::resourceNotFound(asyncResp->res, header->type, registryMatch);
return;
}