We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 116ec25 commit 57a1637Copy full SHA for 57a1637
pkg/rpc/k8s.go
@@ -117,7 +117,7 @@ func ExtractPvcFromURL(path string) string {
117
splitPrefix := ""
118
if strings.HasPrefix(path, RootPrefix) {
119
splitPrefix = RootPrefix
120
- } else if strings.HasPrefix(path, CacheRootPath) {
+ } else if strings.HasPrefix(path, CacheRootPath) || strings.HasPrefix(path, AppDataRootPath) {
121
splitPrefix = CacheRootPath
122
} else {
123
return ""
pkg/rpc/watcher.go
@@ -26,6 +26,8 @@ var RootPrefix = os.Getenv("ROOT_PREFIX") // "/data"
26
27
var CacheRootPath = os.Getenv("CACHE_ROOT_PATH") // "/appcache"
28
29
+var AppDataRootPath = "/AppData"
30
+
31
var ContentPath = os.Getenv("CONTENT_PATH") // "/Home/Documents"
32
33
var watcher *jfsnotify.Watcher = nil
0 commit comments