summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-02-08 10:53:03 +0300
committerEd Tanous <edtanous@google.com>2022-03-08 00:38:18 +0300
commitfffb8c1fae42bc5ed3b07a700b71fdaf7b59eab8 (patch)
tree3923bef9524b58d21f159287ee17043f80100c8b /scripts
parent8cc8edec45fb504457933c2c3f2625fa876493e6 (diff)
downloadbmcweb-fffb8c1fae42bc5ed3b07a700b71fdaf7b59eab8.tar.xz
Change message_registries namespace to registries
The message_registries namespace is overly wordy, and results in very long defines. Doing this one minor change reduces the code by 50 lines. This seems worthwhile. Tested: Unit tests pass. Namespace change only. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ib1401580b3fa47596eb56cdc86e60eeeb1c2f952
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/parse_registries.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index a8b50bfab3..63dcbcae42 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -30,7 +30,7 @@ REGISTRY_HEADER = WARNING + '''
// clang-format off
-namespace redfish::message_registries::{}
+namespace redfish::registries::{}
{{
'''
@@ -142,7 +142,7 @@ for file, json_dict, namespace, url in files:
" {} = {},\n".format(messageId, index))
registry.write(
"}};\n"
- "}} // namespace redfish::message_registries::{}\n"
+ "}} // namespace redfish::registries::{}\n"
.format(namespace))