From cc123cc91b8b971eb06fbe72959ed3427ce9426a Mon Sep 17 00:00:00 2001 From: lixiang Date: Tue, 10 Sep 2024 01:58:59 +0000 Subject: [PATCH] Fixed some spelling errors Signed-off-by: lixiang --- docs/usage.md | 2 +- pkg/services/quotaturbo/quotaturbo.go | 2 +- tests/data/fuzz-test/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index d974025..437c6ac 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -25,7 +25,7 @@ 我们提供了rubik-daemonset.yaml脚本供用户使用。在执行`make install`命令后,该文件及rubik的二进制文件将会被安装到`/var/lib/rubik`目录下。 1. 构建镜像 - 由于运行darmonset依赖于rubik镜像,因此首先需要构建rubik镜像。我们提供了构建docker镜像的方法: + 由于运行daemonset依赖于rubik镜像,因此首先需要构建rubik镜像。我们提供了构建docker镜像的方法: ```bash cd /tmp/rubik make image diff --git a/pkg/services/quotaturbo/quotaturbo.go b/pkg/services/quotaturbo/quotaturbo.go index 27e71db..4d1bbac 100644 --- a/pkg/services/quotaturbo/quotaturbo.go +++ b/pkg/services/quotaturbo/quotaturbo.go @@ -93,7 +93,7 @@ func NewQuotaTurbo(n string) *QuotaTurbo { } } -// syncCgroups updates the cgroup in cilent according to the current whitelist pod list +// syncCgroups updates the cgroup in client according to the current whitelist pod list func (qt *QuotaTurbo) syncCgroups(conts map[string]*typedef.ContainerInfo) { var ( existedCgroupPaths = qt.client.AllCgroups() diff --git a/tests/data/fuzz-test/README.md b/tests/data/fuzz-test/README.md index 84a17c6..b716171 100644 --- a/tests/data/fuzz-test/README.md +++ b/tests/data/fuzz-test/README.md @@ -15,7 +15,7 @@ $ tree fuzz-test-newconfig |-- Fuzz # fuzz go file |-- path # record relative path to put the Fuzz file in the package ``` -3. when the above meterials are ready, go to `rubik/tests/src` +3. when the above materials are ready, go to `rubik/tests/src` 4. the **ONLY Three Things** you need to do is: 1. copy `TEMPLATE` file to the name you want(*must start with `fuzz_test`*), for example `fuzz_test_xxx.sh` 2. change the variable `test_name` in the script you just copy same as the name you just gave(keep same with the folder you create in the first step) -- Gitee