Skip to content

Commit

Permalink
[8038] Remove schema_version property from zone report.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Dec 5, 2024
1 parent b6a4c91 commit e8da5ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions schemas/configuration/v5/zone_bundle.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"type": "object",
"description": "Schema for an iRODS zone bundle (possibly featuring Federation)",
"properties": {
"schema_version": {"type": "string"},
"zones": {
"type": "array",
"items": {
Expand All @@ -27,5 +26,5 @@
}
}
},
"required": ["schema_version", "zones"]
"required": ["zones"]
}
3 changes: 0 additions & 3 deletions server/api/src/rsZoneReport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ int _rsZoneReport(rsComm_t* _comm, bytesBuf_t** _bbuf)
zone_arr.push_back(zone_obj);

auto zone = json::object();
zone["schema_version"] = (boost::format("https://irods.org/configuration_schemas/%s/zone_bundle.json")
% irods::get_server_property<const std::string>("schema_version")).str();

zone["zones"] = zone_arr;

const auto zr = zone.dump(4);
Expand Down

0 comments on commit e8da5ea

Please sign in to comment.