Skip to content

Commit 7dd1b68

Browse files
brennanMKEroyjit
authored andcommitted
chore(storage): moves CreateMultipartUploadRequest to Internal folder (#104)
1 parent b2b0d8d commit 7dd1b68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
File renamed without changes.

AmplifyPlugins/Storage/AWSS3StoragePlugin/Support/Internal/StorageMultipartUpload.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ enum StorageMultipartUpload {
168168

169169
for part in parts {
170170
if part.eTag == nil || part.eTag?.isEmpty ?? false {
171-
throw Failure.invalidateParts(reason: "Part has invalid eTag")
171+
throw Failure.invalidateParts(reason: "part has invalid eTag")
172172
}
173173
}
174174

@@ -177,7 +177,7 @@ enum StorageMultipartUpload {
177177
}
178178

179179
if uploadFile.size != totalBytes {
180-
throw Failure.invalidateParts(reason: "Total bytes uploaded does not match file size")
180+
throw Failure.invalidateParts(reason: "total bytes uploaded does not match file size")
181181
}
182182
}
183183

0 commit comments

Comments
 (0)