This commit is contained in:
John Guo
2022-03-31 16:16:57 +08:00
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ jobs:
with:
timezoneLinux: "Asia/Shanghai"
- name: Checkout Repositary
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set Up Go

View File

@ -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)

View File

@ -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: