Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 7799298

Browse files
committed
Fix bug in patching code
The update in the kubernetes api client have introduced new (positional) args which come before the options arg we need here. Closes #10
1 parent c8c3c5a commit 7799298

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hook-sdk/nodejs/hook-wrapper.js

+3
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ async function updateFindings(findings) {
121121
},
122122
},
123123
},
124+
undefined,
125+
undefined,
126+
undefined,
124127
{ headers: { "content-type": "application/merge-patch+json" } }
125128
);
126129
console.log("Updated status successfully");

0 commit comments

Comments
 (0)