Skip to content

Commit

Permalink
Merge pull request #1417 from giuseppe/drop-oci-version-check
Browse files Browse the repository at this point in the history
crun: drop check for OCI version
  • Loading branch information
rhatdan authored Feb 16, 2024
2 parents 939554b + 4532a38 commit 72542dd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libcrun/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -2719,9 +2719,6 @@ libcrun_container_run (libcrun_context_t *context, libcrun_container_t *containe
if (UNLIKELY (ret < 0))
return ret;

if (def->oci_version && strstr (def->oci_version, "1.0") == NULL)
return crun_make_error (err, 0, "unknown version specified");

if (def->process && def->process->terminal && detach && context->console_socket == NULL)
return crun_make_error (err, 0, "use --console-socket with --detach when a terminal is used");

Expand Down

1 comment on commit 72542dd

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.