Skip to content

Commit

Permalink
Fix LoadOciImagesTask when selecting all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Jan 27, 2025
1 parent d9e6539 commit 7a6257d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abstract class LoadOciImagesTask @Inject constructor(private val execOperations:
multiPlatformImageAndReferencesPairs,
registryDataDirectory,
)
val singlePlatform = platformSelector.get().singlePlatformOrNull()
val singlePlatform = platformSelector.orNull?.singlePlatformOrNull()
val host = if (SystemUtils.IS_OS_WINDOWS || SystemUtils.IS_OS_MAC) "host.docker.internal" else "localhost"
val loopResources = OciLoopResources.acquire()
try {
Expand Down

0 comments on commit 7a6257d

Please sign in to comment.