Skip to content

Commit 57d7ca2

Browse files
committed
debug for cache check owner
1 parent 57a1637 commit 57d7ca2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/rpc/k8s.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ func ExtractPvcFromURL(path string) string {
117117
splitPrefix := ""
118118
if strings.HasPrefix(path, RootPrefix) {
119119
splitPrefix = RootPrefix
120-
} else if strings.HasPrefix(path, CacheRootPath) || strings.HasPrefix(path, AppDataRootPath) {
120+
} else if strings.HasPrefix(path, CacheRootPath) {
121121
splitPrefix = CacheRootPath
122+
} else if strings.HasPrefix(path, AppDataRootPath) {
123+
splitPrefix = AppDataRootPath
122124
} else {
123125
return ""
124126
}

0 commit comments

Comments
 (0)