Skip to content

Commit

Permalink
CASMCMS-9161: Fix type hint for validate_boot_sets function
Browse files Browse the repository at this point in the history
  • Loading branch information
mharding-hpe committed Oct 10, 2024
1 parent 9943c93 commit 8bd7e14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Fixed type hint for `validate_boot_sets` function

## [2.30.2] - 2024-10-09
### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/bos/server/controllers/v2/boot_set/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
def validate_boot_sets(session_template: dict,
operation: str,
template_name: str,
options_data: OptionsData|None=None) -> tuple[str, BootSetStatus]:
options_data: OptionsData|None=None) -> tuple[BootSetStatus, str]:
"""
Validates the boot sets listed in a session template.
This is called when creating a session or when using the sessiontemplatesvalid endpoint
Expand Down

0 comments on commit 8bd7e14

Please sign in to comment.