Skip to content

Commit 27db60a

Browse files
authored
fix: structure in createOCILayoutStructure (apple#93)
Both the callee and caller names have been corrected.
1 parent f245ae6 commit 27db60a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/Containerization/Image/ImageStore/ImageStore+OCILayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extension ImageStore {
6262
client.setImageReferenceAnnotation(descriptor: &descriptor, reference: image.reference)
6363
saved.append(descriptor)
6464
}
65-
try client.createOCILayoutStructre(directory: out, manifests: saved)
65+
try client.createOCILayoutStructure(directory: out, manifests: saved)
6666
}
6767

6868
/// Imports one or more images and their associated layers from an OCI Image Layout directory.

Sources/ContainerizationOCI/Client/LocalOCILayoutClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ extension LocalOCILayoutClient {
132132
return index
133133
}
134134

135-
package func createOCILayoutStructre(directory: URL, manifests: [Descriptor]) throws {
135+
package func createOCILayoutStructure(directory: URL, manifests: [Descriptor]) throws {
136136
let fm = FileManager.default
137137
let encoder = JSONEncoder()
138138
encoder.outputFormatting = [.withoutEscapingSlashes]

0 commit comments

Comments
 (0)