diff --git a/Sources/tart/VMDirectory+OCI.swift b/Sources/tart/VMDirectory+OCI.swift index e146125..9610416 100644 --- a/Sources/tart/VMDirectory+OCI.swift +++ b/Sources/tart/VMDirectory+OCI.swift @@ -32,7 +32,7 @@ extension VMDirectory { // Pull VM's disk layers and decompress them into a disk file if manifest.layers.contains(where: { $0.mediaType == legacyDiskV1MediaType }) { - throw RuntimeError.Generic("Pulling OCI images with legacy disk media type \"application/vnd.cirruslabs.tart.disk.v1\" is no longer supported, please re-push the image using a current Tart version") + throw RuntimeError.Generic("Pulling OCI images with legacy disk media type \(legacyDiskV1MediaType) is no longer supported, please re-push the image using a current Tart version") } let layers = manifest.layers.filter { $0.mediaType == diskV2MediaType }