diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/generate_schema_collections.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/generate_schema_collections.py b/scripts/generate_schema_collections.py index c9f8b5956d..d6efa0efe2 100755 --- a/scripts/generate_schema_collections.py +++ b/scripts/generate_schema_collections.py @@ -266,17 +266,17 @@ def generate_top_collections(): "\n" "namespace redfish\n" "{{\n" - '// Note that each URI actually begins with "/redfish/v1/"\n' + '// Note that each URI actually begins with "/redfish/v1"\n' "// They've been omitted to save space and reduce search time\n" "constexpr std::array<std::string_view, {TOTAL}> " "topCollections{{\n".format(WARNING=WARNING, TOTAL=TOTAL) ) for collection in sorted(top_collections): - # All URIs start with "/redfish/v1/". We can omit that portion to + # All URIs start with "/redfish/v1". We can omit that portion to # save memory and reduce lookup time hpp_file.write( - ' "{}",\n'.format(collection.split("/redfish/v1/")[1]) + ' "{}",\n'.format(collection.split("/redfish/v1")[1]) ) hpp_file.write("};\n} // namespace redfish\n") |