Skip to content

Commit

Permalink
Update hpctestlib/system/fs/trivy_scan.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vasileios Karakasis <[email protected]>
  • Loading branch information
victorusu and vkarak authored Oct 2, 2023
1 parent 9f3159f commit 9054a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hpctestlib/system/fs/trivy_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def check_supported_trivy_version(self):

validator = VersionValidator(f'>=0.37.0')
if not validator.validate(self.trivy_release):
raise ReframeError(f'trivy version {self.trivy_release} '
raise ValueError(f'trivy version {self.trivy_release} '
f'is not supported')

@run_after('init')
Expand Down

0 comments on commit 9054a35

Please sign in to comment.