mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
2
.github/workflows/gf.yml
vendored
2
.github/workflows/gf.yml
vendored
@ -89,7 +89,7 @@ jobs:
|
||||
with:
|
||||
timezoneLinux: "Asia/Shanghai"
|
||||
|
||||
- name: Checkout Repositary
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set Up 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)
|
||||
|
||||
2
protocol/goai/testdata/example.yaml
vendored
2
protocol/goai/testdata/example.yaml
vendored
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user