Skip to content

Commit

Permalink
go mod tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Aug 15, 2022
1 parent 5582eb6 commit c91ce24
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU
github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8=
github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
Expand Down
4 changes: 0 additions & 4 deletions pipedream.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ func (m *MultipartUpload) Send(reader io.Reader, path string) chan Event {
}

func (m *MultipartUpload) run(ch chan Event) {

// Set defaults
if m.MaxRetries == 0 {
m.MaxRetries = 3
Expand Down Expand Up @@ -285,7 +284,6 @@ func (m *MultipartUpload) run(ch chan Event) {
Bytes: totalBytes,
Result: res,
}

}

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

} else {

// Success
return &s3.CompletedPart{
ETag: res.ETag,
PartNumber: aws.Int64(int64(partNum)),
}, nil

}
}

Expand Down

0 comments on commit c91ce24

Please sign in to comment.