stages/oci-archive: make config optional in code
According to our schema `config` is optional but the code actually accessed it unconditionally; fix that.
This commit is contained in:
parent
b761188b98
commit
a6e7070b13
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ def create_oci_dir(inputs, output_dir, options, create_time):
|
|||
"created": created,
|
||||
"architecture": architecture,
|
||||
"os": "linux",
|
||||
"config": config_from_options(options["config"]),
|
||||
"config": config_from_options(options.get("config", {})),
|
||||
"rootfs": {
|
||||
"type": "layers",
|
||||
"diff_ids": []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue