Content-Length: 205637 | pFad | http://github.com/ovh/cds/commit/93ad86e0e98ea21a15ae8f010cb9b5e185397c76

0C fix(engine): dropped filepath.Walk() error · ovh/cds@93ad86e · GitHub
Skip to content

Commit

Permalink
fix(engine): dropped filepath.Walk() error
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
  • Loading branch information
alrs authored and richardlt committed Mar 28, 2024
1 parent 655542e commit 93ad86e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/cdn/storage/local/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ func (b *Buffer) BufferType() storage.CDNBufferType {
func (b *Buffer) ResyncWithDatabase(ctx context.Context, db gorp.SqlExecutor, t sdk.CDNItemType, dryRun bool) {
root := fmt.Sprintf("%s/%s", b.config.Path, string(t))
if err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if info == nil {
return nil
}
Expand Down

0 comments on commit 93ad86e

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/ovh/cds/commit/93ad86e0e98ea21a15ae8f010cb9b5e185397c76

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy