Skip to content

CDRIVER-5535 Minor improvements to create-silk-asset-group.py #1647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/create-silk-asset-group.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def create_asset_group(
"name": project,
"code_repo_url": code_repo_url,
"branch": branch,
"file_path": [],
"file_paths": ["*"],
"metadata": {
"sbom_lite_path": sbom_lite_path,
},
Expand All @@ -172,7 +172,7 @@ def create_asset_group(
)
try:
with urllib.request.urlopen(req) as resp:
json.loads(resp.read()) # No-op, but validates that JSON was returned
print(json.loads(resp.read())) # No-op, but validates that JSON was returned
except urllib.error.HTTPError as err:
if err.status == 409 and exist_ok:
# 409: Conflict
Expand Down