Skip to content

Commit c91ce24

Browse files
committed
go mod tidy
1 parent 5582eb6 commit c91ce24

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU
105105
github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8=
106106
github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
107107
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
108-
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
109108
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
110109
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
111110
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=

pipedream.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ func (m *MultipartUpload) Send(reader io.Reader, path string) chan Event {
172172
}
173173

174174
func (m *MultipartUpload) run(ch chan Event) {
175-
176175
// Set defaults
177176
if m.MaxRetries == 0 {
178177
m.MaxRetries = 3
@@ -285,7 +284,6 @@ func (m *MultipartUpload) run(ch chan Event) {
285284
Bytes: totalBytes,
286285
Result: res,
287286
}
288-
289287
}
290288

291289
// uploadPart performs the technical S3 stuff to upload one part of the
@@ -325,13 +323,11 @@ func (m MultipartUpload) uploadPart(ch chan Event, chunk []byte, partNum int) (*
325323
tryNum++
326324

327325
} else {
328-
329326
// Success
330327
return &s3.CompletedPart{
331328
ETag: res.ETag,
332329
PartNumber: aws.Int64(int64(partNum)),
333330
}, nil
334-
335331
}
336332
}
337333

0 commit comments

Comments
 (0)