Skip to content

Commit

Permalink
Correct prestart hook description in summary (#1275)
Browse files Browse the repository at this point in the history
Correct `prestart` hook description in summary

It looks like the previous description was copied from the wrong line.  
Update the `prestart (Deprecated)` hook's timing from being called
"after the start operation is invoked but before the user-specified command executes" 
to "during the create operation, after the runtime environment is created and before pivot root or any equivalent operation."

Signed-off-by: Lei Wang <[email protected]>
  • Loading branch information
ssst0n3 authored Jan 16, 2025
1 parent d61dee6 commit 131ae4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ See the below table for a summary of hooks and when they are called:

| Name | Namespace | When |
| ----------------------- | --------- | -----------------------------------------------------------------------------------------------------------------------------------|
| `prestart` (Deprecated) | runtime | After the start operation is called but before the user-specified program command is executed. |
| `prestart` (Deprecated) | runtime | During the create operation, after the runtime environment has been created and before the pivot root or any equivalent operation. |
| `createRuntime` | runtime | During the create operation, after the runtime environment has been created and before the pivot root or any equivalent operation. |
| `createContainer` | container | During the create operation, after the runtime environment has been created and before the pivot root or any equivalent operation. |
| `startContainer` | container | After the start operation is called but before the user-specified program command is executed. |
Expand Down

0 comments on commit 131ae4c

Please sign in to comment.