mirror of
https://github.com/apple/container.git
synced 2026-09-09 01:05:40 +00:00
fix: structure in createOCILayoutStructure (#93)
Both the callee and caller names have been corrected.
This commit is contained in:
@@ -62,7 +62,7 @@ extension ImageStore {
|
||||
client.setImageReferenceAnnotation(descriptor: &descriptor, reference: image.reference)
|
||||
saved.append(descriptor)
|
||||
}
|
||||
try client.createOCILayoutStructre(directory: out, manifests: saved)
|
||||
try client.createOCILayoutStructure(directory: out, manifests: saved)
|
||||
}
|
||||
|
||||
/// Imports one or more images and their associated layers from an OCI Image Layout directory.
|
||||
|
||||
@@ -132,7 +132,7 @@ extension LocalOCILayoutClient {
|
||||
return index
|
||||
}
|
||||
|
||||
package func createOCILayoutStructre(directory: URL, manifests: [Descriptor]) throws {
|
||||
package func createOCILayoutStructure(directory: URL, manifests: [Descriptor]) throws {
|
||||
let fm = FileManager.default
|
||||
let encoder = JSONEncoder()
|
||||
encoder.outputFormatting = [.withoutEscapingSlashes]
|
||||
|
||||
Reference in New Issue
Block a user