Skip to content

Commit da26e72

Browse files
authored
fix(op): invalidate new path cache on meta path update (#2322)
1 parent e11b8a8 commit da26e72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/op/meta.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ func UpdateMeta(u *model.Meta) error {
7878
return err
7979
}
8080
metaCache.Del(old.Path)
81+
metaCache.Del(u.Path)
8182
return db.UpdateMeta(u)
8283
}
8384

0 commit comments

Comments
 (0)