Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lyoung-confluent committed Jan 25, 2024
1 parent d42db67 commit 64a0c9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions events/s3_batch_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ type S3BatchJobEvent struct {
// S3BatchJob whichs have the job id
type S3BatchJob struct {
ID string `json:"id"`
UserArguments map[string]string `json:"userArguments"`
UserArguments map[string]string `json:"userArguments,omitempty"`
}

// S3BatchJobTask represents one task in the s3 batch job and have all task details
type S3BatchJobTask struct {
TaskID string `json:"taskId"`
S3Key string `json:"s3Key"`
S3VersionID string `json:"s3VersionId"`
S3Bucket string `json:"s3Bucket"`
S3BucketARN string `json:"s3BucketArn"`
S3Bucket string `json:"s3Bucket,omitempty"`
S3BucketARN string `json:"s3BucketArn,omitempty"`
}

// S3BatchJobResponse is the response of a iven s3 batch job with the results
Expand Down
2 changes: 1 addition & 1 deletion events/testdata/s3-batch-job-event-request-2.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"taskId": "dGFza2lkZ29lc2hlcmUK",
"s3Key": "prefix/dataset/dataset.20231222.json.gz",
"s3VersionId": null,
"s3VersionId": "1",
"s3Bucket": "powertools-dataset"
}
]
Expand Down

0 comments on commit 64a0c9e

Please sign in to comment.