diff --git a/docs/quotaturboAPI.md b/docs/quotaturboAPI.md index e5445dbfa19506c83206396c2fb647c352d10686..00a306c0e1898951def083d90fae8c9881eaf2f4 100644 --- a/docs/quotaturboAPI.md +++ b/docs/quotaturboAPI.md @@ -76,7 +76,7 @@ type Config struct { ```golang type Option func(c *Config) error ``` -`Option`是设置quotaTubro参数的函数接口。 +`Option`是设置quotaTurbo参数的函数接口。 ### type Client ```golang diff --git a/pkg/core/typedef/cgroup/common.go b/pkg/core/typedef/cgroup/common.go index 9e402f26a939e0359865025390936374db293e19..a5a1478ea2fec0492111dcd835ea36e2a7ed4977 100644 --- a/pkg/core/typedef/cgroup/common.go +++ b/pkg/core/typedef/cgroup/common.go @@ -83,14 +83,14 @@ func WriteCgroupFile(content string, elem ...string) error { func readCgroupFile(cgPath string) ([]byte, error) { if !util.PathExist(cgPath) { - return nil, fmt.Errorf("%v: no such file or diretory", cgPath) + return nil, fmt.Errorf("%v: no such file or directory", cgPath) } return util.ReadFile(cgPath) } func writeCgroupFile(cgPath, content string) error { if !util.PathExist(cgPath) { - return fmt.Errorf("%v: no such file or diretory", cgPath) + return fmt.Errorf("%v: no such file or directory", cgPath) } return util.WriteFile(cgPath, content) } diff --git a/vendor/github.com/sirupsen/logrus/CHANGELOG.md b/vendor/github.com/sirupsen/logrus/CHANGELOG.md index 7567f612898ce5dd1dcbf530aa91c3836551b255..d7426a3ec0920b58ee8ef169177160ddceff094d 100755 --- a/vendor/github.com/sirupsen/logrus/CHANGELOG.md +++ b/vendor/github.com/sirupsen/logrus/CHANGELOG.md @@ -120,7 +120,7 @@ This new release introduces: * an indent configuration for the json formatter * output colour support for windows * the field sort function is now configurable for text formatter - * the CLICOLOR and CLICOLOR\_FORCE environment variable support in text formater + * the CLICOLOR and CLICOLOR\_FORCE environment variable support in text formatter # 1.0.6