Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mharding-hpe committed Oct 9, 2024
2 parents 9faf988 + 0c83445 commit 1155c9b
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 @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.30.1] - 2024-10-09
### Fixed
- Fix bug in sessions controller, attempting >= comparison with enumerated types.

## [2.30.0] - 2024-10-07
### Added
#### BOS options
Expand Down
2 changes: 1 addition & 1 deletion src/bos/server/controllers/v2/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def post_v2_session(): # noqa: E501
# Validate health/validity of the sessiontemplate before creating a session
error_code, msg = validate_boot_sets(session_template, session_create.operation, template_name,
options_data=options_data)
if error_code >= BootSetStatus.ERROR:
if error_code == BootSetStatus.ERROR:
LOGGER.error("Session template fails check: %s", msg)
return msg, 400

Expand Down

0 comments on commit 1155c9b

Please sign in to comment.