Skip to content

Commit 2a1bc0e

Browse files
committed
Update migration pulling of images
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent b479268 commit 2a1bc0e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

php/EE/Migration/Containers.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ public static function start_container_migration() {
2828
$updated_images = [];
2929

3030
foreach ( $img_versions as $img => $version ) {
31-
if ( 'easyengine/php5.6' === $img ) {
32-
continue;
33-
}
34-
if ( $current_versions[ $img ] !== $version ) {
35-
$updated_images[] = $img;
31+
if ( array_key_exists( $img, $current_versions ) ) {
32+
if ( $current_versions[ $img ] !== $version ) {
33+
$updated_images[] = $img;
34+
self::pull_or_error( $img, $version );
35+
}
36+
} else {
3637
self::pull_or_error( $img, $version );
3738
}
3839
}

0 commit comments

Comments
 (0)