Skip to content

Commit

Permalink
Fix incorrect exception instantiation arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mharding-hpe committed Jul 12, 2024
1 parent 7dcc930 commit 36e46f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- The applystage operation works again. It was broken when multi-tenancy support was added.
- Fix incorrect exception instantiation arguments in `boot_image_metadata/factory.py`

### Removed
- Remove vestigial `BASEKEY` definition from sessions and templates server controller source files
Expand Down
3 changes: 1 addition & 2 deletions src/bos/operators/utils/boot_image_metadata/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ def __call__(self):
if path_type == 's3':
return S3BootImageMetaData(self.boot_set)
else:
raise BootImageMetaDataUnknown("No BootImageMetaData class for "
"type %s", path_type)
raise BootImageMetaDataUnknown(f"No BootImageMetaData class for type {path_type}")

0 comments on commit 36e46f8

Please sign in to comment.