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.