Skip to content

Commit 1afb603

Browse files
committed
containertool: Move ELF architecture translation extension to Extensions
1 parent ae18b60 commit 1afb603

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Sources/containertool/containertool.swift

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,4 @@ enum AllowHTTP: String, ExpressibleByArgument, CaseIterable { case source, desti
236236
destination_image.reference = reference
237237
print(destination_image)
238238
}
239-
}
240-
241-
extension ELF.ISA {
242-
var containerArchitecture: String? {
243-
switch self {
244-
case .x86_64: "amd64"
245-
case .aarch64: "arm64"
246-
default: nil
247-
}
248-
}
249-
}
239+
}

0 commit comments

Comments
 (0)