Skip to content

Commit 6d879c8

Browse files
committed
Move errors section out of operations
The `Errors` section is more like a general description about runtime, if it's a sub-section of `Operations`, it'll be hard for both implementations and tests to define what this `errors` operation really is. Signed-off-by: Qiang Huang <[email protected]>
1 parent 173b7e2 commit 6d879c8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

runtime.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@ The lifecycle describes the timeline of events that happen from when a container
5151

5252
Note: The lifecycle is a WIP and it will evolve as we have more use cases and more information on the viability of a separate create phase.
5353

54-
## Operations
55-
56-
OCI compliant runtimes MUST support the following operations, unless the operation is not supported by the base operating system.
54+
## Errors
5755

58-
### Errors
5956
In cases where the specified operation generates an error, this specification does not mandate how, or even if, that error is returned or exposed to the user of an implementation.
6057
Unless otherwise stated, generating an error MUST leave the state of the environment as if the operation were never attempted - modulo any possible trivial ancillary changes such as logging.
6158

59+
## Operations
60+
61+
OCI compliant runtimes MUST support the following operations, unless the operation is not supported by the base operating system.
62+
6263
### Query State
6364

6465
`state <container-id>`

0 commit comments

Comments
 (0)