Skip to content

Commit 3ef7a51

Browse files
authored
Merge pull request #21354 from fancc/variables
fix some format errors of container lifecycle hooks
2 parents b573413 + cc7b046 commit 3ef7a51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/concepts/containers/container-lifecycle-hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Kubernetes provides Containers with lifecycle hooks.
4242
The hooks enable Containers to be aware of events in their management lifecycle
4343
and run code implemented in a handler when the corresponding lifecycle hook is executed.
4444
-->
45-
类似于许多具有生命周期钩子组件的编程语言框架,例如Angular,Kubernetes为容器提供了生命周期钩子
45+
类似于许多具有生命周期钩子组件的编程语言框架,例如 Angular、Kubernetes 为容器提供了生命周期钩子
4646
钩子使容器能够了解其管理生命周期中的事件,并在执行相应的生命周期钩子时运行在处理程序中实现的代码。
4747

4848
<!--
@@ -163,7 +163,7 @@ which means that a hook may be called multiple times for any given event,
163163
such as for `PostStart` or `PreStop`.
164164
It is up to the hook implementation to handle this correctly.
165165
-->
166-
钩子的寄送应该是*至少一次*,这意味着对于任何给定的事件,例如 `PostStart``PreStop`,钩子可以被调用多次。
166+
钩子的寄送应该是 *至少一次*,这意味着对于任何给定的事件,例如 `PostStart``PreStop`,钩子可以被调用多次。
167167
如何正确处理,是钩子实现所要考虑的问题。
168168

169169
<!--

0 commit comments

Comments
 (0)