Fix egg importing from seeder
This commit is contained in:
parent
638ea2e815
commit
1dacd703df
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ class EggUpdateImporterService
|
|||
'name' => object_get($parsed, 'name'),
|
||||
'description' => object_get($parsed, 'description'),
|
||||
'features' => object_get($parsed, 'features'),
|
||||
'docker_image' => object_get($parsed, 'image'),
|
||||
// Maintain backwards compatibility for eggs that are still using the old single image
|
||||
// string format. New eggs can provide an array of Docker images that can be used.
|
||||
'docker_images' => object_get($parsed, 'images') ?? [object_get($parsed, 'image')],
|
||||
'config_files' => object_get($parsed, 'config.files'),
|
||||
'config_startup' => object_get($parsed, 'config.startup'),
|
||||
'config_logs' => object_get($parsed, 'config.logs'),
|
||||
|
|
Loading…
Reference in a new issue