Skip to content

Commit

Permalink
Update exception statement
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <divyaasm@amazon.com>
  • Loading branch information
Divyaasm committed Feb 20, 2024
1 parent 07582b0 commit c970a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation_workflow/validation_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __init__(self) -> None:

if args.distribution == "docker":
if args.osd_build_number != "latest" and "opensearch-dashboards" not in args.projects:
raise Exception("osd_build_number argument cannot be provided without specifying opensearch-dashboards in --projects")
raise Exception("--osd_build_number argument cannot be provided without specifying opensearch-dashboards in --projects")
if not(args.validate_digest_only) and not(args.using_staging_artifact_only):
raise Exception("Provide either of --validate-digest-only and --using-staging-artifact-only for Docker Validation")

Expand Down

0 comments on commit c970a51

Please sign in to comment.