Skip to content

Commit 1102798

Browse files
committed
Change 'result' to 'results' ref signing/radas-nonprod test samples
1 parent 730ae43 commit 1102798

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charon/pkgs/radas_signature_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async def generate_single_sign_file(
160160
failed_paths.append(signature_path)
161161
logger.error("Failed to write .asc file for %s: %s", artifact_path, e)
162162

163-
result = data.get("result", [])
163+
result = data.get("results", [])
164164
return __do_path_cut_and(path_handler=generate_single_sign_file, data=result)
165165

166166

tests/test_radas_sign_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __prepare_sign_result_file(self):
121121
data = {
122122
"request-id": "request-id",
123123
"file-reference": "quay.io/org/maven-zip@hash",
124-
"result": [
124+
"results": [
125125
{
126126
"file": "maven-repository/foo/bar/1.0/foo-bar-1.0.jar",
127127
"signature": (

0 commit comments

Comments
 (0)