From 2d586859c3031fdadcdecf1ada9fa7a14c89182c Mon Sep 17 00:00:00 2001 From: cuishuang Date: Wed, 23 Mar 2022 21:45:00 +0800 Subject: [PATCH] fix some typos Signed-off-by: cuishuang --- .github/workflows/gf.yml | 2 +- os/gfpool/gfpool_pool.go | 2 +- protocol/goai/testdata/example.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gf.yml b/.github/workflows/gf.yml index 86521639260..2fe78c1548a 100644 --- a/.github/workflows/gf.yml +++ b/.github/workflows/gf.yml @@ -89,7 +89,7 @@ jobs: with: timezoneLinux: "Asia/Shanghai" - - name: Checkout Repositary + - name: Checkout Repository uses: actions/checkout@v2 - name: Set Up Go diff --git a/os/gfpool/gfpool_pool.go b/os/gfpool/gfpool_pool.go index 5db0fcea312..6cee707e679 100644 --- a/os/gfpool/gfpool_pool.go +++ b/os/gfpool/gfpool_pool.go @@ -100,7 +100,7 @@ func (p *Pool) File() (*File, error) { // It firstly checks using !p.init.Val() for performance purpose. if !p.init.Val() && p.init.Cas(false, true) { _, _ = gfsnotify.Add(f.path, func(event *gfsnotify.Event) { - // If teh file is removed or renamed, recreates the pool by increasing the pool id. + // If the file is removed or renamed, recreates the pool by increasing the pool id. if event.IsRemove() || event.IsRename() { // It drops the old pool. p.id.Add(1) diff --git a/protocol/goai/testdata/example.yaml b/protocol/goai/testdata/example.yaml index ad397220500..96ba852559b 100644 --- a/protocol/goai/testdata/example.yaml +++ b/protocol/goai/testdata/example.yaml @@ -135,7 +135,7 @@ paths: tags: - pet summary: Finds Pets by tags - description: Muliple tags can be provided with comma separated strings. Use tag1, + description: Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. operationId: findPetsByTags parameters: