Skip to content

Commit

Permalink
Remove unnecessary curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
philmcmahon committed Jan 22, 2025
1 parent cac9a6a commit 53d0f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/packer/PackerBuildConfigGenerator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ object PackerBuildConfigGenerator {
val instanceSize = if (requresXlargeBukder) "xlarge" else "small"

val instanceType = sourceAmiMetadata.architecture match {
case "x86_64" => s"t3.${instanceSize}"
case "arm64" => s"t4g.${instanceSize}"
case "x86_64" => s"t3.$instanceSize"
case "arm64" => s"t4g.$instanceSize"
case other =>
throw new IllegalArgumentException(
s"Don't know what instance type to use to bake an AMI for $other"
Expand Down

0 comments on commit 53d0f7f

Please sign in to comment.