Skip to content

Commit a91e189

Browse files
authored
CDRIVER-5535 Minor improvements to create-silk-asset-group.py (#1647)
1 parent ce20fd4 commit a91e189

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/create-silk-asset-group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def create_asset_group(
161161
"name": project,
162162
"code_repo_url": code_repo_url,
163163
"branch": branch,
164-
"file_path": [],
164+
"file_paths": ["*"],
165165
"metadata": {
166166
"sbom_lite_path": sbom_lite_path,
167167
},
@@ -172,7 +172,7 @@ def create_asset_group(
172172
)
173173
try:
174174
with urllib.request.urlopen(req) as resp:
175-
json.loads(resp.read()) # No-op, but validates that JSON was returned
175+
print(json.loads(resp.read())) # No-op, but validates that JSON was returned
176176
except urllib.error.HTTPError as err:
177177
if err.status == 409 and exist_ok:
178178
# 409: Conflict

0 commit comments

Comments
 (0)