Skip to content

Commit

Permalink
Merge branch 'develop' into casmcms-9225-full
Browse files Browse the repository at this point in the history
  • Loading branch information
mharding-hpe authored Dec 18, 2024
2 parents cea748f + 352275b commit 7fe055d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added basic paging ability for `GET` requests for `components`.

## [2.31.1] - 2024-12-18
### Fixed
- When renaming session templates during migration, use correct database key to store renamed template.

## [2.31.0] - 2024-11-01
### Removed
- Moved BOS reporter to https://github.com/Cray-HPE/bos-reporter
Expand Down
2 changes: 1 addition & 1 deletion src/bos/server/migrations/sanitize.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _sanitize_session_template(key: str | bytes, data: dict) -> None:

delete_template(key, data)

new_key = get_tenant_aware_key(name, tenant)
new_key = get_tenant_aware_key(new_name, tenant)
LOGGER.info("Old DB key = '%s', new DB key = '%s'", key, new_key)

new_data["name"] = new_name
Expand Down

0 comments on commit 7fe055d

Please sign in to comment.