Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion async-gateway/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ func main() {
}

s3Storage := NewS3(sess, *bucket)

sqsQueue := NewSQS(*queueURL, sess)

svc := NewService(*clusterName, apiName, sqsQueue, s3Storage, log)
Expand Down
2 changes: 1 addition & 1 deletion async-gateway/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewService(clusterName, apiName string, queue Queue, storage Storage, logge
// CreateWorkload enqueues an async workload request and uploads the request payload to S3
func (s *service) CreateWorkload(id string, payload io.Reader, contentType string) (string, error) {
prefix := s.workloadStoragePrefix()
log := s.logger.With(zap.String("id", "id"), zap.String("contentType", contentType))
log := s.logger.With(zap.String("id", id), zap.String("contentType", contentType))

payloadPath := fmt.Sprintf("%s/%s/payload", prefix, id)
log.Debug("uploading payload", zap.String("path", payloadPath))
Expand Down