Skip to content

Commit 80727a7

Browse files
committed
Fix compiler complaints (unused args)
1 parent 8a03084 commit 80727a7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

agent/form_uploader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (u *FormUploader) Upload(_ context.Context, artifact *api.Artifact) error {
135135
}
136136

137137
// Creates a new file upload http request with optional extra params
138-
func createUploadRequest(l logger.Logger, artifact *api.Artifact) (*http.Request, error) {
138+
func createUploadRequest(_ logger.Logger, artifact *api.Artifact) (*http.Request, error) {
139139
streamer := newMultipartStreamer()
140140

141141
// Set the post data for the request

agent/verify_job.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ func (r *JobRunner) verifyJob(ctx context.Context, keySet jwk.Set) error {
5252
err := signature.Verify(
5353
ctx,
5454
step.Signature,
55-
r.conf.JWKS, stepWithInvariants,
55+
keySet,
56+
stepWithInvariants,
5657
signature.WithEnv(r.conf.Job.Env),
5758
signature.WithLogger(r.agentLogger),
5859
signature.WithDebugSigning(r.conf.AgentConfiguration.DebugSigning),

0 commit comments

Comments
 (0)